mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-07 21:16:28 +00:00
get_set_elimination_pass: Replace decltype with direct type retrieval (#9)
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Dynarmic {
|
||||
namespace Optimization {
|
||||
|
||||
void GetSetElimination(IR::Block& block) {
|
||||
using Iterator = decltype(block.begin());
|
||||
using Iterator = IR::Block::iterator;
|
||||
struct RegisterInfo {
|
||||
IR::Value register_value;
|
||||
bool set_instruction_present = false;
|
||||
|
||||
Reference in New Issue
Block a user