]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
c++: ir_block::m_exits
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index fe07198ab5cc0c8798606d718b90b415647f242a..e3b4fbdea62b30dd84809105fb40272f82125da2 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -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<ir_block *> m_entries;
+    std::vector<ir_block *> m_exits;
     std::vector<ir_value *> m_living;
 
     /* For the temp-allocation */