X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2Ffirmstat.c;h=5335d02e18016645f3652edcc15cdbbb10028b1f;hb=31fc92ec27c0274f5f24c515094afd40a04ab1a9;hp=8dabf65514f107b7188403b6baeb108c742d4caf;hpb=8b5aac95f0921dc70b53f2526f7a7413df3f6f85;p=libfirm diff --git a/ir/stat/firmstat.c b/ir/stat/firmstat.c index 8dabf6551..5335d02e1 100644 --- a/ir/stat/firmstat.c +++ b/ir/stat/firmstat.c @@ -65,9 +65,6 @@ static ir_op _op_DivC; /** The Div by Const node. */ static ir_op _op_ModC; -/** The Quot by Const node. */ -static ir_op _op_QuotC; - /** The memory Proj node. */ static ir_op _op_ProjM; @@ -590,12 +587,6 @@ static ir_op *stat_get_irn_op(ir_node *node) op = status->op_ModC ? status->op_ModC : op; } /* if */ break; - case iro_Quot: - if (is_Const(get_Quot_right(node))) { - /* special case, a floating point division by a const, count on extra counter */ - op = status->op_QuotC ? status->op_QuotC : op; - } /* if */ - break; case iro_Sel: if (is_Sel(get_Sel_ptr(node))) { /* special case, a Sel of a Sel, count on extra counter */ @@ -2375,16 +2366,12 @@ void firm_init_stat(unsigned enable_options) _op_ModC.code = --num; _op_ModC.name = new_id_from_chars(X("ModC")); - _op_QuotC.code = --num; - _op_QuotC.name = new_id_from_chars(X("QuotC")); - status->op_Phi0 = &_op_Phi0; status->op_PhiM = &_op_PhiM; status->op_ProjM = &_op_ProjM; status->op_MulC = &_op_MulC; status->op_DivC = &_op_DivC; status->op_ModC = &_op_ModC; - status->op_QuotC = &_op_QuotC; } else { status->op_Phi0 = NULL; status->op_PhiM = NULL; @@ -2392,7 +2379,6 @@ void firm_init_stat(unsigned enable_options) status->op_MulC = NULL; status->op_DivC = NULL; status->op_ModC = NULL; - status->op_QuotC = NULL; } /* if */ /* for Florian: count the Sel depth */