Merge pull request #11292 from ethereum/fixFunctionSideEffectsDialect

Use "for objects" dialect for function side effects test.
This commit is contained in:
chriseth 2021-04-22 14:55:08 +02:00 committed by GitHub
commit bf0afb4667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
); );