diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-12 18:22:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:23 -0700 |
| commit | 100e19374a3a083bb1a56cd5afc132ac8f447cd5 (patch) | |
| tree | fa1d6e32e48f5c3cf9048a090658fcef1d85eede | |
| parent | fe2fe8d3e8b615b1acebdeabaefc75cf698353b9 (diff) | |
| download | sparse-dev-100e19374a3a083bb1a56cd5afc132ac8f447cd5.tar.gz | |
Make sure we register bb usage when rewriting a branch.
| -rw-r--r-- | linearize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linearize.c b/linearize.c index 57383a8b..8bf7978c 100644 --- a/linearize.c +++ b/linearize.c @@ -1582,7 +1582,7 @@ static void rewrite_branch(struct basic_block *bb, struct basic_block *old, struct basic_block *new) { - *ptr = new; + use_bb(new, ptr); add_bb(&new->parents, bb); /* * FIXME!!! We should probably also remove bb from "old->parents", |
