mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce global optimiser settings.
This commit is contained in:
committed by
chriseth
parent
0e475438a9
commit
cf5c13f9c7
+15
-2
@@ -66,10 +66,23 @@ explanatory purposes.
|
||||
{
|
||||
// Required for Solidity: Sorted list of remappings
|
||||
remappings: [ ":g/dir" ],
|
||||
// Optional: Optimizer settings (enabled defaults to false)
|
||||
// Optional: Optimizer settings. The fields "enabled" and "runs" are deprecated
|
||||
// and are only given for backwards-compatibility.
|
||||
optimizer: {
|
||||
enabled: true,
|
||||
runs: 500
|
||||
runs: 500,
|
||||
details: {
|
||||
// peephole defaults to "true"
|
||||
peephole: true,
|
||||
// jumpdestRemover defaults to "true"
|
||||
jumpdestRemover: true,
|
||||
orderLiterals: false,
|
||||
deduplicate: false,
|
||||
cse: false,
|
||||
constantOptimizer: false,
|
||||
yul: false,
|
||||
yulDetails: {}
|
||||
}
|
||||
},
|
||||
// Required for Solidity: File and name of the contract or library this
|
||||
// metadata is created for.
|
||||
|
||||
Reference in New Issue
Block a user