unsigned magic, version, ix, checksum;
long *summary;
- if (!da_file)
- return 0;
- counts_file_index = htab_create (10, htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del);
-
/* No .da file, no data. */
if (!da_file)
return 0;
+ counts_file_index = htab_create (10, htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del);
/* Now index all profile sections. */
-
rewind (da_file);
summary = NULL;
/* Add fake edges from entry block to the call insns that may return
twice. The CFG is not quite correct then, as call insn plays more
role of CODE_LABEL, but for our purposes, everything should be OK,
- as we never insert code to the beggining of basic block. */
+ as we never insert code to the beginning of basic block. */
for (insn = bb->head; insn != NEXT_INSN (bb->end);
insn = NEXT_INSN (insn))
{
/* Build structure. */
assemble_variable (structure, 0, 0, 0);
- /* Build the constructor function to invoke __gcov_init. */
+ /* Build the constructor function to invoke __gcov_init. */
ctor_name = concat (IDENTIFIER_POINTER (get_file_function_name ('I')),
"_GCOV", NULL);
ctor = build_decl (FUNCTION_DECL, get_identifier (ctor_name),