Commit 11c185a5 authored by chriseth's avatar chriseth

Enable yul optimizations if optimizations are enabled and in Yul mode.

parent 517db1ad
...@@ -24,5 +24,9 @@ module.exports = (sources, opts) => { ...@@ -24,5 +24,9 @@ module.exports = (sources, opts) => {
if (opts.language) { if (opts.language) {
o.language = opts.language o.language = opts.language
} }
if (opts.language == 'Yul' && o.settings.optimizer.enabled)
{
o.settings.optimizer.details['yul'] = true
}
return JSON.stringify(o) return JSON.stringify(o)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment