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
+1 -1
View File
@@ -39,7 +39,7 @@ string check(string const& _input)
{
shared_ptr<Block> ast = yul::test::parse(_input, false).first;
BOOST_REQUIRE(ast);
map<YulString, int> functions = CompilabilityChecker::run(EVMDialect::strictAssemblyForEVM(dev::test::Options::get().evmVersion()), *ast);
map<YulString, int> functions = CompilabilityChecker::run(EVMDialect::strictAssemblyForEVM(dev::test::Options::get().evmVersion()), *ast, true);
string out;
for (auto const& function: functions)
out += function.first.str() + ": " + to_string(function.second) + " ";