aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Li <sparse@chrisli.org>2007-02-09 16:18:10 -0800
committerJosh Triplett <josh@freedesktop.org>2007-02-28 11:44:02 -0800
commitfb057c38c687c16a31b7c56e7c4e404e18e4d92d (patch)
tree3cce219e136cbd0cc0e372f977b8fbf679158be4 /linearize.c
parentMove pkg-config file to lib, rather than share (diff)
downloadsparse-fb057c38c687c16a31b7c56e7c4e404e18e4d92d.tar.gz
sparse-fb057c38c687c16a31b7c56e7c4e404e18e4d92d.tar.bz2
sparse-fb057c38c687c16a31b7c56e7c4e404e18e4d92d.zip
Disable liveness "dead" instruction by default.
The liveness instruction takes up about 10% of the bytecode bloat file. It is not very useful, it is duplicate information that can be obtained from the def/user chain. This change disables the liveness instruction by default. The caller can track_pseudo_death() if needed. Signed-Off-By: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'linearize.c')
-rw-r--r--linearize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linearize.c b/linearize.c
index 914d85e..fc79e5a 100644
--- a/linearize.c
+++ b/linearize.c
@@ -2139,7 +2139,8 @@ repeat:
}
/* Finally, add deathnotes to pseudos now that we have them */
- track_pseudo_death(ep);
+ if (dbg_dead)
+ track_pseudo_death(ep);
return ep;
}