summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgcalc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgcalc.c b/cgcalc.c
index 8d13697..0c3f33c 100644
--- a/cgcalc.c
+++ b/cgcalc.c
@@ -2550,7 +2550,7 @@ void calculate_graph_register_uses (INSTRUCTION_GRAPH graph)
graph_0=graph->instruction_parameters[0].p;
if (graph_0->order_mode==R_NOMODE)
- if (graph->instruction_code==GMULUD)
+ if (graph_0->instruction_code==GMULUD)
calculate_mulud_operator (graph_0);
else
calculate_divdu_operator (graph_0);