aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/src/prof.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcc/src/prof.c')
-rw-r--r--lcc/src/prof.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lcc/src/prof.c b/lcc/src/prof.c
index a5123b4..02709ed 100644
--- a/lcc/src/prof.c
+++ b/lcc/src/prof.c
@@ -203,7 +203,7 @@ void prof_init(int argc, char *argv[]) {
return;
inited = 1;
type_init(argc, argv);
- if (IR)
+ if (IR) {
for (i = 1; i < argc; i++)
if (strncmp(argv[i], "-a", 2) == 0) {
if (ncalled == -1
@@ -224,4 +224,5 @@ void prof_init(int argc, char *argv[]) {
attach((Apply)bbincr, YYcounts, &events.points);
}
}
+ }
}