* @return
* The operations.
*/
-static ir_op_ops *firm_set_default_copy_attr(ir_opcode code, ir_op_ops *ops)
+static ir_op_ops *firm_set_default_copy_attr(unsigned code, ir_op_ops *ops)
{
switch (code) {
case iro_Call:
irop_flags get_op_flags(const ir_op *op)
{
- return op->flags;
+ return (irop_flags)op->flags;
}
#include "gen_irop.c.inl"