aboutsummaryrefslogtreecommitdiffstats
path: root/cse.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-05 00:01:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:30 -0700
commit723f56a0d0877bf4e34aa96f78ff6c44dd2095c4 (patch)
treed13cb4c4d9ed3e3eaaef8a8cdd1e1d02f17e550c /cse.c
parent1367a00f59fdbfade356496950c332548fbe5816 (diff)
downloadsparse-723f56a0d0877bf4e34aa96f78ff6c44dd2095c4.tar.gz
sparse-723f56a0d0877bf4e34aa96f78ff6c44dd2095c4.tar.xz
sparse-723f56a0d0877bf4e34aa96f78ff6c44dd2095c4.zip
Yet another missed "entry" change point.
Umm. The compiler even warned about it, I don't see how I could miss it. I'm a maroon.
Diffstat (limited to 'cse.c')
-rw-r--r--cse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cse.c b/cse.c
index b75a412..47cd78f 100644
--- a/cse.c
+++ b/cse.c
@@ -249,7 +249,7 @@ static int bb_dominates(struct entrypoint *ep, struct basic_block *bb1, struct b
struct basic_block *parent;
/* Nothing dominates the entrypoint.. */
- if (bb2 == ep->entry)
+ if (bb2 == ep->entry->bb)
return 0;
FOR_EACH_PTR(bb2->parents, parent) {
if (parent == bb1)