X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firarch.h;h=c8b4400218cd1e51fad48742822c3d7c838d3ab7;hb=a5e1011f6b967b00491c503c59753625fc74cb61;hp=84208217ce3f80c79b83f9294d1cea71b3aba4a7;hpb=6f37b3f5178996ef665bae4df2efac5aa5446c4a;p=libfirm diff --git a/include/libfirm/irarch.h b/include/libfirm/irarch.h index 84208217c..c8b440021 100644 --- a/include/libfirm/irarch.h +++ b/include/libfirm/irarch.h @@ -47,11 +47,12 @@ typedef enum instr { * A Callback for evaluating the costs of an instruction. * * @param kind the instruction + * @param mode the mode of the instruction * @param tv for MUL instruction, the multiplication constant * * @return the costs of this instruction */ -typedef int (*evaluate_costs_func)(insn_kind kind, tarval *tv); +typedef int (*evaluate_costs_func)(insn_kind kind, const ir_mode *mode, ir_tarval *tv); /** * A parameter structure that drives the machine dependent Firm