X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ir.h;h=e3b4fbdea62b30dd84809105fb40272f82125da2;hp=9fa8ab5ab62d2ee49323af529e7ed2a1e6508410;hb=90f190f5e19c1981280eedb37b9439cd9542372d;hpb=ee3c1e43c9e70a856222516ab0f3a8231c1d073f diff --git a/ir.h b/ir.h index 9fa8ab5..e3b4fbd 100644 --- a/ir.h +++ b/ir.h @@ -27,8 +27,8 @@ enum { IR_FLAG_INCLUDE_DEF = 1 << 3, IR_FLAG_ERASABLE = 1 << 4, IR_FLAG_BLOCK_COVERAGE = 1 << 5, - - IR_FLAG_SPLIT_VECTOR = 1 << 6, + IR_FLAG_NOREF = 1 << 6, + IR_FLAG_SPLIT_VECTOR = 1 << 7, IR_FLAG_LAST, IR_FLAG_MASK_NO_OVERLAP = (IR_FLAG_HAS_ARRAYS | IR_FLAG_HAS_UNINITIALIZED), @@ -149,8 +149,8 @@ struct ir_block { bool m_final = false; /* once a jump is added we're done */ ir_instr **m_instr = nullptr; - ir_block **m_entries = nullptr; - ir_block **m_exits = nullptr; + std::vector m_entries; + std::vector m_exits; std::vector m_living; /* For the temp-allocation */