X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Freassoc.c;h=c27125e76d00b85198ddc37311a57dd886b6ff45;hb=762b472fc81c73cf7a1b0041b8cd286b7206d79d;hp=cedf85b673f18f34dd5b8d41978aee44e01e9e5e;hpb=10e58f9669ea6c77e82bd3bc12c4ac5bbaa6bb15;p=libfirm diff --git a/ir/opt/reassoc.c b/ir/opt/reassoc.c index cedf85b67..c27125e76 100644 --- a/ir/opt/reassoc.c +++ b/ir/opt/reassoc.c @@ -941,7 +941,7 @@ int optimize_reassociation(ir_graph *irg) /* * Calculate loop info, so we could identify loop-invariant - * code and threat it like a constant. + * code and treat it like a constant. * We only need control flow loops here but can handle generic * INTRA info as well. */ @@ -994,7 +994,7 @@ ir_op_ops *firm_set_default_reassoc(unsigned code, ir_op_ops *ops) CASE(Eor); CASE(Shl); default: - /* leave NULL */; + break; } return ops;