aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-28 13:32:49 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:11 -0700
commit2225f90e34bbc72e4b834c69797bc0eb5ae281b6 (patch)
tree7f0613db48335204243c0310624579df8d6b4837 /linearize.h
parentOops. Fix silly typo. Small but deadly - it broke the counted ptr replace. (diff)
downloadsparse-2225f90e34bbc72e4b834c69797bc0eb5ae281b6.tar.gz
sparse-2225f90e34bbc72e4b834c69797bc0eb5ae281b6.tar.bz2
sparse-2225f90e34bbc72e4b834c69797bc0eb5ae281b6.zip
Add entrypoint pointer to each bb.
Very useful for debugging, since otherwise it's often impossible to find all the other basic blocks.
Diffstat (limited to 'linearize.h')
-rw-r--r--linearize.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h
index f26b5fd..4fc7ce4 100644
--- a/linearize.h
+++ b/linearize.h
@@ -170,6 +170,7 @@ struct basic_block {
struct position pos;
unsigned long generation;
int context;
+ struct entrypoint *ep;
struct basic_block_list *parents; /* sources */
struct basic_block_list *children; /* destinations */
struct instruction_list *insns; /* Linear list of instructions */