aboutsummaryrefslogtreecommitdiff
path: root/flow.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-25 16:01:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:52 -0700
commit998117a02c73c980aba72dbb06402207242bbd51 (patch)
tree261d48229f2fd1cad07ef9620fa1d3ecdcd1a2e2 /flow.h
parentFix silly unintentional constant truncation. (diff)
downloadsparse-998117a02c73c980aba72dbb06402207242bbd51.tar.gz
sparse-998117a02c73c980aba72dbb06402207242bbd51.tar.bz2
sparse-998117a02c73c980aba72dbb06402207242bbd51.zip
When killing a basic block, mark all its instructions unreachable.
Also export "kill_bb()", since others want to use it too.
Diffstat (limited to 'flow.h')
-rw-r--r--flow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/flow.h b/flow.h
index 0b3a400..3cec6fb 100644
--- a/flow.h
+++ b/flow.h
@@ -11,4 +11,6 @@ extern void convert_instruction_target(struct instruction *insn, pseudo_t src);
extern void cleanup_and_cse(struct entrypoint *ep);
extern int simplify_instruction(struct instruction *);
+extern void kill_bb(struct basic_block *);
+
#endif