X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibfirm%2Firarch.h;h=c8b4400218cd1e51fad48742822c3d7c838d3ab7;hb=a5e1011f6b967b00491c503c59753625fc74cb61;hp=d1657b1531d7a29b3add0537c265ebe55d7e4d79;hpb=9d3c8631459f431c313160dab5778e8a7b88dd92;p=libfirm diff --git a/include/libfirm/irarch.h b/include/libfirm/irarch.h index d1657b153..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, ir_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