docs: Info about optimizerSteps field in Standard JSON input and metadata listings

This commit is contained in:
Kamil Śliwak 2020-05-04 15:45:44 +02:00
parent d037f7a3c5
commit 457cc754d0
2 changed files with 10 additions and 3 deletions

View File

@ -82,8 +82,12 @@ explanatory purposes.
deduplicate: false,
cse: false,
constantOptimizer: false,
yul: false,
yulDetails: {}
yul: true,
// Optional: Only present if "yul" is "true"
yulDetails: {
stackAllocation: false,
optimizerSteps: "dhfoDgvulfnTUtnIf..."
}
}
},
metadata: {

View File

@ -231,7 +231,10 @@ Input Description
"yulDetails": {
// Improve allocation of stack slots for variables, can free up stack slots early.
// Activated by default if the Yul optimizer is activated.
"stackAllocation": true
"stackAllocation": true,
// Select optimization steps to be applied.
// Optional, the optimizer will use the default sequence if omitted.
"optimizerSteps": "dhfoDgvulfnTUtnIf..."
}
}
},