X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ir.h;h=95fdd57520d50ec724e10cc8969175d5dd454bf7;hp=dd48a8accef6e25928d642401220965f9bfcf83a;hb=04dca17cffcf250a6f561b8624fe053b96e37f86;hpb=fe3b1b2e8d5e8672e6a15ccb476a1fecc6f30ff7 diff --git a/ir.h b/ir.h index dd48a8a..95fdd57 100644 --- a/ir.h +++ b/ir.h @@ -83,7 +83,7 @@ ir_value* ir_value_var(const char *name, int st, int vtype); */ ir_value* ir_value_out(struct ir_function_s *owner, const char *name, int st, int vtype); void ir_value_delete(ir_value*); -void ir_value_set_name(ir_value*, const char *name); +bool ir_value_set_name(ir_value*, const char *name); ir_value* ir_value_vector_member(ir_value*, unsigned int member); MEM_VECTOR_PROTO_ALL(ir_value, struct ir_instr_s*, reads); @@ -111,7 +111,7 @@ bool ir_value_lives(ir_value*, size_t); bool ir_values_overlap(const ir_value*, const ir_value*); void ir_value_dump(ir_value*, int (*oprintf)(const char*,...)); -void ir_value_dump_life(ir_value *self, int (*oprintf)(const char*,...)); +void ir_value_dump_life(const ir_value *self, int (*oprintf)(const char*,...)); /* A vector of IR values */ typedef struct {