aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-08 21:37:42 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:45 -0700
commit346edcb8b1f89644f0e7fd88e13b2a4ddeb89189 (patch)
tree816fc87621d49d0f63fc0d2ccc629cd309c340cd
parent45d84a60ee3f3f30ed1a41e39237d6fe53efdda7 (diff)
downloadsparse-dev-346edcb8b1f89644f0e7fd88e13b2a4ddeb89189.tar.gz
Remove some stale (and very confusing) register instantiation.
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index 05e2b495..ae3262b2 100644
--- a/example.c
+++ b/example.c
@@ -386,7 +386,7 @@ static void mark_pseudo_dead(pseudo_t pseudo)
static void generate_phisource(struct instruction *insn, struct bb_state *state)
{
struct instruction *user = first_instruction(insn->phi_users);
- struct hardreg *reg = getreg(state, insn->phi_src);
+ struct hardreg *reg;
if (!user)
return;