iropt: Or/Eor/Add are sometimes equivalent
[libfirm] / ir / ir / irnode_t.h
index 474fd55..27faec2 100644 (file)
@@ -327,7 +327,7 @@ static inline op_pin_state _get_irn_pinned(const ir_node *node)
        state = _get_op_pinned(_get_irn_op(node));
 
        if (state >= op_pin_state_exc_pinned)
-               return node->attr.except.pin_state;
+               return (op_pin_state)node->attr.except.pin_state;
 
        return state;
 }
@@ -515,7 +515,7 @@ static inline unsigned _get_irn_idx(const ir_node *node) {
 
 static inline dbg_info *_get_irn_dbg_info(const ir_node *n) {
        return n->dbi;
-}  /* get_irn_dbg_info */
+}
 
 static inline void _set_irn_dbg_info(ir_node *n, dbg_info *db) {
        n->dbi = db;