X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ir.h;h=5b948358fdee732766bf818a66653350460c823a;hp=1d3503872efefb16a0d6328d822b82f0e76a5e19;hb=7ffda37513835bbf0aaa65f4ad4984c41028d410;hpb=c90807dec6a7094cfbae116c6c0404661c5fc6d8 diff --git a/ir.h b/ir.h index 1d35038..5b94835 100644 --- a/ir.h +++ b/ir.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012, 2013 + * Copyright (C) 2012, 2013, 2014 * Wolfgang Bumiller * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -48,6 +48,7 @@ enum { IR_FLAG_HAS_GOTO = 1 << 2, IR_FLAG_INCLUDE_DEF = 1 << 3, IR_FLAG_ERASEABLE = 1 << 4, + IR_FLAG_BLOCK_COVERAGE = 1 << 5, IR_FLAG_LAST, IR_FLAG_MASK_NO_OVERLAP = (IR_FLAG_HAS_ARRAYS | IR_FLAG_HAS_UNINITIALIZED), @@ -273,6 +274,7 @@ struct ir_builder_s { /* there should just be this one nil */ ir_value *nil; ir_value *reserved_va_count; + ir_value *coverage_func; /* some virtual instructions require temps, and their code is isolated * so that we don't need to keep track of their liveness. */