Fix spelling errors

This commit is contained in:
a3d4
2020-05-25 02:54:37 +02:00
parent 32bec6b374
commit a499ef16fa
10 changed files with 24 additions and 23 deletions
+3 -3
View File
@@ -435,10 +435,10 @@ map<u256, u256> Assembly::optimiseInternal(
// This only modifies PushTags, we have to run again to actually remove code.
if (_settings.runDeduplicate)
{
BlockDeduplicator dedup{m_items};
if (dedup.deduplicate())
BlockDeduplicator deduplicator{m_items};
if (deduplicator.deduplicate())
{
for (auto const& replacement: dedup.replacedTags())
for (auto const& replacement: deduplicator.replacedTags())
{
assertThrow(
replacement.first <= size_t(-1) && replacement.second <= size_t(-1),