mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adapt tests directory to C++ namespace changes.
This commit is contained in:
committed by
Daniel Kirchner
parent
6b23412fae
commit
ed45b000d1
@@ -25,16 +25,14 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace yul
|
||||
{
|
||||
namespace test
|
||||
namespace solidity::yul::test
|
||||
{
|
||||
|
||||
namespace
|
||||
{
|
||||
string assemble(string const& _input)
|
||||
{
|
||||
dev::solidity::OptimiserSettings settings = dev::solidity::OptimiserSettings::full();
|
||||
solidity::frontend::OptimiserSettings settings = solidity::frontend::OptimiserSettings::full();
|
||||
settings.runYulOptimiser = false;
|
||||
settings.optimizeStackAllocation = true;
|
||||
AssemblyStack asmStack(langutil::EVMVersion{}, AssemblyStack::Language::StrictAssembly, settings);
|
||||
@@ -349,4 +347,3 @@ BOOST_AUTO_TEST_CASE(reuse_slots_function_with_gaps)
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user