X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop_t.h;h=11ec792b8137a80dcccd8366fd0dafcd0e0c2de9;hb=54d4a6e338344ee3ab159d493af3148bdab33c17;hp=6082e05fe413a0a8fea10e508341795f8bc25a96;hpb=ee49a847b829a2d2a204b7ae68e54df1ed8cd9d9;p=libfirm diff --git a/ir/ir/irop_t.h b/ir/ir/irop_t.h index 6082e05fe..11ec792b8 100644 --- a/ir/ir/irop_t.h +++ b/ir/ir/irop_t.h @@ -20,7 +20,7 @@ /** The type of an ir_op. */ struct ir_op { - opcode code; /**< The unique opcode of the op. */ + ir_opcode code; /**< The unique opcode of the op. */ ident *name; /**< The name of the op. */ size_t attr_size; /**< Space needed in memory for private attributes. */ op_pin_state op_pin_state_pinned; /**< How to deal with the node in CSE, PRE. */ @@ -131,7 +131,7 @@ static INLINE int is_op_machine_user(const ir_op *op, unsigned n) { return op->flags & (irop_flag_user << n); } -static INLINE opcode _get_op_code(const ir_op *op) { +static INLINE ir_opcode _get_op_code(const ir_op *op) { return op->code; }