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;
- ir_block **m_exits = nullptr;
+ std::vector<ir_block *> m_exits;
std::vector<ir_value *> m_living;
/* For the temp-allocation */
ir_builder *m_owner;
- std::string m_name;
- qc_type m_outtype;
- int *m_params = nullptr;
- ir_flag_t m_flags = 0;
- int m_builtin = 0;
+ std::string m_name;
+ qc_type m_outtype;
+ std::vector<int> m_params;
+ ir_flag_t m_flags = 0;
+ int m_builtin = 0;
std::vector<std::unique_ptr<ir_block>> m_blocks;