[CLASSES]: Add missing lexblock__init initialization of {high,low}_pc

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-01-02 18:36:03 -02:00
parent c6d68d705c
commit 5b17097b2e
1 changed files with 4 additions and 1 deletions

View File

@ -1005,6 +1005,9 @@ static void lexblock__init(struct lexblock *self,
self->nr_labels =
self->nr_lexblocks =
self->nr_variables = 0;
self->low_pc = low_pc;
self->high_pc = high_pc;
}
static struct lexblock *lexblock__new(Dwarf_Off id,
@ -1436,7 +1439,7 @@ void function__print(const struct function *self, int show_stats,
puts(";");
if (show_stats) {
printf("/* size: %llu", function__size(self));
printf("/* size: %u", function__size(self));
if (self->lexblock.nr_variables > 0)
printf(", variables: %u", self->lexblock.nr_variables);
if (self->lexblock.nr_labels > 0)