diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-23 16:00:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:38 -0700 |
commit | 3c6c27fe15154293724fb640cf7de166a0e8677d (patch) | |
tree | 4a5534df074a7824f813b0ab57070e2d32a21512 /cse.c | |
parent | Make CSE convert instructions to OP_NOP (diff) | |
download | sparse-3c6c27fe15154293724fb640cf7de166a0e8677d.tar.gz sparse-3c6c27fe15154293724fb640cf7de166a0e8677d.tar.bz2 sparse-3c6c27fe15154293724fb640cf7de166a0e8677d.zip |
Make the "cse nop" a bit more informative
Show the source that the thing was replaced with.
Diffstat (limited to 'cse.c')
-rw-r--r-- | cse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -225,6 +225,7 @@ static struct instruction * cse_one_instruction(struct instruction *insn, struct { convert_instruction_target(insn, def->target); insn->opcode = OP_NOP; + insn->src1 = def->target; return def; } |