mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: Info about optimizerSteps field in Standard JSON input and metadata listings
This commit is contained in:
parent
d037f7a3c5
commit
457cc754d0
@ -82,8 +82,12 @@ explanatory purposes.
|
|||||||
deduplicate: false,
|
deduplicate: false,
|
||||||
cse: false,
|
cse: false,
|
||||||
constantOptimizer: false,
|
constantOptimizer: false,
|
||||||
yul: false,
|
yul: true,
|
||||||
yulDetails: {}
|
// Optional: Only present if "yul" is "true"
|
||||||
|
yulDetails: {
|
||||||
|
stackAllocation: false,
|
||||||
|
optimizerSteps: "dhfoDgvulfnTUtnIf..."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
metadata: {
|
metadata: {
|
||||||
|
@ -231,7 +231,10 @@ Input Description
|
|||||||
"yulDetails": {
|
"yulDetails": {
|
||||||
// Improve allocation of stack slots for variables, can free up stack slots early.
|
// Improve allocation of stack slots for variables, can free up stack slots early.
|
||||||
// Activated by default if the Yul optimizer is activated.
|
// 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..."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user