Constify.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 2 Jun 2007 12:50:51 +0000 (12:50 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 2 Jun 2007 12:50:51 +0000 (12:50 +0000)
[r14265]

ir/ir/irop_t.h

index dd95cbc..d685df2 100644 (file)
@@ -173,7 +173,7 @@ static INLINE void _set_op_tag(ir_op *op, void *tag) {
        op->tag = tag;
 }
 
-static INLINE void *_get_op_tag(ir_op *op) {
+static INLINE void *_get_op_tag(const ir_op *op) {
        return op->tag;
 }