IR::DumpBlock: Incorrect use of std::map::at

This commit is contained in:
MerryMage 2016-08-02 13:47:05 +01:00
parent 4414ec5bc8
commit deb5e2c10d

View file

@ -189,7 +189,7 @@ std::string DumpBlock(const IR::Block& block) {
}
ret += "\n";
inst_to_index.at(&*inst) = index++;
inst_to_index[&*inst] = index++;
}
return ret;