aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-08 12:40:48 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:38 -0700
commita696ed3e5a8e21997d2e0e5a1bba86a4e606f842 (patch)
treeba02e4828fbeaec9b802bbbc8b353c07bf41a31b
parentMake "storage" be part of the sparse library, and split out (diff)
downloadsparse-a696ed3e5a8e21997d2e0e5a1bba86a4e606f842.tar.gz
sparse-a696ed3e5a8e21997d2e0e5a1bba86a4e606f842.tar.bz2
sparse-a696ed3e5a8e21997d2e0e5a1bba86a4e606f842.zip
Expose "show_instruction()" for debugging.
We already did this, we just didn't have a visible prototype.
-rw-r--r--cse.c2
-rw-r--r--linearize.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/cse.c b/cse.c
index 866bff2..875b79e 100644
--- a/cse.c
+++ b/cse.c
@@ -122,8 +122,6 @@ static void clean_up_insns(struct entrypoint *ep)
} END_FOR_EACH_PTR(bb);
}
-extern void show_instruction(struct instruction *);
-
/* Compare two (sorted) phi-lists */
static int phi_list_compare(struct pseudo_list *l1, struct pseudo_list *l2)
{
diff --git a/linearize.h b/linearize.h
index 6137174..b31af95 100644
--- a/linearize.h
+++ b/linearize.h
@@ -280,6 +280,7 @@ struct entrypoint *linearize_symbol(struct symbol *sym);
void show_entry(struct entrypoint *ep);
const char *show_pseudo(pseudo_t pseudo);
void show_bb(struct basic_block *bb);
+void show_instruction(struct instruction *insn);
#endif /* LINEARIZE_H */