feat: migrate from OpView to DoubleLinkedList<Op*> + multiple

funciton arguments
This commit is contained in:
2026-01-06 16:39:51 +01:00
parent 806e20d9b1
commit 589586db51
10 changed files with 136 additions and 89 deletions

View File

@@ -10,8 +10,8 @@ using BlockID = unsigned int;
class Block
{
public:
Block(BlockID id, const OpView& ops)
: m_id(id), m_ops(DoubleLinkedList<Op*>::FromView(ops)) {}
Block(BlockID id, DoubleLinkedList<Op*> ops)
: m_id(id), m_ops(ops) {}
public:
DoubleLinkedList<Op*>& ops() { return m_ops; }
public: