]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
c++: ir_block::m_instr
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index e3b4fbdea62b30dd84809105fb40272f82125da2..4f40048c2a5594a2b66ac54aa7d629475a7f854a 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -148,7 +148,7 @@ struct ir_block {
     lex_ctx_t m_context;
     bool m_final = false; /* once a jump is added we're done */
 
-    ir_instr **m_instr = nullptr;
+    std::vector<ir_instr *> m_instr;
     std::vector<ir_block *> m_entries;
     std::vector<ir_block *> m_exits;
     std::vector<ir_value *> m_living;