Pass "optimize stack allocation" flag down to the stack compressor.

This commit is contained in:
chriseth
2019-03-20 15:03:27 +01:00
parent 556d11dae0
commit 38cbf8d230
11 changed files with 27 additions and 14 deletions
+5 -1
View File
@@ -39,7 +39,11 @@ namespace yul
class CompilabilityChecker
{
public:
static std::map<YulString, int> run(std::shared_ptr<Dialect> _dialect, Block const& _ast);
static std::map<YulString, int> run(
std::shared_ptr<Dialect> _dialect,
Block const& _ast,
bool _optimizeStackAllocation
);
};
}