diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir/basic_block.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/basic_block.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/basic_block.cpp b/src/shader_recompiler/frontend/ir/basic_block.cpp index e795618fc..249251dd0 100644 --- a/src/shader_recompiler/frontend/ir/basic_block.cpp +++ b/src/shader_recompiler/frontend/ir/basic_block.cpp | |||
| @@ -23,8 +23,8 @@ void Block::AppendNewInst(Opcode op, std::initializer_list<Value> args) { | |||
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | Block::iterator Block::PrependNewInst(iterator insertion_point, Opcode op, | 25 | Block::iterator Block::PrependNewInst(iterator insertion_point, Opcode op, |
| 26 | std::initializer_list<Value> args) { | 26 | std::initializer_list<Value> args, u64 flags) { |
| 27 | Inst* const inst{std::construct_at(instruction_alloc_pool.allocate(), op)}; | 27 | Inst* const inst{std::construct_at(instruction_alloc_pool.allocate(), op, flags)}; |
| 28 | const auto result_it{instructions.insert(insertion_point, *inst)}; | 28 | const auto result_it{instructions.insert(insertion_point, *inst)}; |
| 29 | 29 | ||
| 30 | if (inst->NumArgs() != args.size()) { | 30 | if (inst->NumArgs() != args.size()) { |