Use "for objects" dialect for function side effects test.

This commit is contained in:
chriseth 2021-04-22 14:37:36 +02:00
parent 17f522835f
commit e408b708ac

View File

@ -89,7 +89,7 @@ TestCase::TestResult FunctionSideEffects::run(ostream& _stream, string const& _l
BOOST_THROW_EXCEPTION(runtime_error("Parsing input failed.")); BOOST_THROW_EXCEPTION(runtime_error("Parsing input failed."));
map<YulString, SideEffects> functionSideEffects = SideEffectsPropagator::sideEffects( map<YulString, SideEffects> functionSideEffects = SideEffectsPropagator::sideEffects(
EVMDialect::strictAssemblyForEVM(langutil::EVMVersion()), EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion()),
CallGraphGenerator::callGraph(*obj.code) CallGraphGenerator::callGraph(*obj.code)
); );