IR::DumpBlock: Incorrect use of std::map::at
This commit is contained in:
parent
4414ec5bc8
commit
deb5e2c10d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user