get_set_elimination_pass: Replace decltype with direct type retrieval (#9)

This commit is contained in:
Mat M 2016-09-02 12:30:21 -04:00 committed by Merry
parent 1e781d911a
commit d16badbc04

View file

@ -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;