aboutsummaryrefslogtreecommitdiffstats
path: root/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'cse.c')
-rw-r--r--cse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cse.c b/cse.c
index b5ae172..6a55234 100644
--- a/cse.c
+++ b/cse.c
@@ -223,8 +223,8 @@ static void sort_instruction_list(struct instruction_list **list)
static struct instruction * cse_one_instruction(struct instruction *insn, struct instruction *def)
{
- /* We re-use the "convert_load_insn()" function. Does the same thing */
- convert_load_insn(insn, def->target);
+ convert_instruction_target(insn, def->target);
+ insn->opcode = OP_NOP;
return def;
}