Add structural simplifier as optimization step for Yul.

This commit is contained in:
Daniel Kirchner
2018-12-06 18:37:35 +01:00
parent 4b2a64306a
commit 1eb60cbb39
19 changed files with 292 additions and 15 deletions
+3
View File
@@ -20,6 +20,7 @@
#pragma once
#include <libdevcore/Common.h>
#include <libyul/AsmDataForward.h>
namespace yul
@@ -28,4 +29,6 @@ namespace yul
/// Removes statements that are just empty blocks (non-recursive).
void removeEmptyBlocks(Block& _block);
dev::u256 valueOfNumberLiteral(Literal const& _literal);
}