|
39 | 39 | #include <fstream> |
40 | 40 |
|
41 | 41 | using namespace solidity; |
| 42 | +using namespace solidity::test; |
42 | 43 | using namespace solidity::util; |
43 | 44 | using namespace solidity::langutil; |
44 | 45 | using namespace solidity::yul; |
@@ -67,10 +68,10 @@ TestCase::TestResult YulInterpreterTest::run(std::ostream& _stream, std::string |
67 | 68 | bool YulInterpreterTest::parse(std::ostream& _stream, std::string const& _linePrefix, bool const _formatted) |
68 | 69 | { |
69 | 70 | YulStack stack( |
70 | | - solidity::test::CommonOptions::get().evmVersion(), |
71 | | - solidity::test::CommonOptions::get().eofVersion(), |
| 71 | + CommonOptions::get().evmVersion(), |
| 72 | + CommonOptions::get().eofVersion(), |
72 | 73 | YulStack::Language::StrictAssembly, |
73 | | - solidity::frontend::OptimiserSettings::none(), |
| 74 | + OptimiserSettings::none(), |
74 | 75 | DebugInfoSelection::All() |
75 | 76 | ); |
76 | 77 | if (stack.parseAndAnalyze("", m_source)) |
@@ -98,8 +99,7 @@ std::string YulInterpreterTest::interpret() |
98 | 99 | { |
99 | 100 | Interpreter::run( |
100 | 101 | state, |
101 | | - EVMDialect::strictAssemblyForEVMObjects(solidity::test::CommonOptions::get().evmVersion(), |
102 | | - solidity::test::CommonOptions::get().eofVersion()), |
| 102 | + CommonOptions::get().evmDialect(), |
103 | 103 | m_ast->root(), |
104 | 104 | /*disableExternalCalls=*/ !m_simulateExternalCallsToSelf, |
105 | 105 | /*disableMemoryTracing=*/ false |
|
0 commit comments