summaryrefslogtreecommitdiff
path: root/cgcalc.c
diff options
context:
space:
mode:
authorJohn van Groningen2005-05-11 13:18:50 +0000
committerJohn van Groningen2005-05-11 13:18:50 +0000
commit7a8ed0f4397496c3f0f41782cc39da79e0105ee9 (patch)
tree6b3a5b49e7c397348d1e5dbf4c4bddaed5251756 /cgcalc.c
parentadd some optimizations for arrays of unboxed records: (diff)
fix bug in mulUUL instruction
Diffstat (limited to 'cgcalc.c')
-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);