mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-05 22:18:16 +01:00
intrusive_list: Support inserters
Allows std::inserter, std::back_inserter, and std::front_inserter to work with intrusive lists.
This commit is contained in:
parent
36a0ad5bc2
commit
23d190f7b0
2 changed files with 27 additions and 38 deletions
|
|
@ -515,7 +515,7 @@ IR::Value IREmitter::Inst(IR::Opcode op, std::initializer_list<IR::Value> args)
|
|||
index++;
|
||||
});
|
||||
|
||||
block.instructions.Append(*inst);
|
||||
block.instructions.push_back(inst);
|
||||
return IR::Value(inst);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue