From: Christopher Li <sparse@chrisli.org>
To: linux-sparse@vger.kernel.org
Cc: Linus Torvalds <torvalds@osdl.org>,
Josh Triplett <josh@freedesktop.org>,
Dan Carpenter <error27@gmail.com>
Subject: [RFC] [PATCH 3/4] and other branch usage fix
Date: Thu, 28 Dec 2006 01:26:18 -0800 [thread overview]
Message-ID: <20061228092618.GD6573@chrisli.org> (raw)
Remove dead branch from usage chain.
Branch like the following will get simplify and removed.
But the usage information is not updated.
br %c, 0x10, 0x10
Singed-off-by: Christopher Li <sparse@chrisli.org>
Index: sparse/flow.c
===================================================================
--- sparse.orig/flow.c 2006-12-21 20:48:07.000000000 -0800
+++ sparse/flow.c 2006-12-21 22:20:44.000000000 -0800
@@ -987,7 +987,7 @@ out:
replace_bb_in_list(&child->parents, bb, parent, 0);
} END_FOR_EACH_PTR(child);
- delete_last_instruction(&parent->insns);
+ kill_instruction(delete_last_instruction(&parent->insns));
FOR_EACH_PTR(bb->insns, insn) {
if (insn->bb) {
assert(insn->bb == bb);
reply other threads:[~2006-12-28 9:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061228092618.GD6573@chrisli.org \
--to=sparse@chrisli.org \
--cc=error27@gmail.com \
--cc=josh@freedesktop.org \
--cc=linux-sparse@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).