mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11419 from ethereum/sc-inline
Properly support inliner in settings.optimizer.details
This commit is contained in:
commit
29c8f282e4
@ -14,6 +14,7 @@ Compiler Features:
|
||||
Bugfixes:
|
||||
* AST: Do not output value of Yul literal if it is not a valid UTF-8 string.
|
||||
* SMTChecker: Fix internal error on struct constructor with fixed bytes member initialized with string literal.
|
||||
* Standard JSON: Properly allow the ``inliner`` setting under ``settings.optimizer.details``.
|
||||
|
||||
|
||||
AST Changes:
|
||||
|
@ -449,7 +449,7 @@ std::optional<Json::Value> checkOptimizerKeys(Json::Value const& _input)
|
||||
|
||||
std::optional<Json::Value> checkOptimizerDetailsKeys(Json::Value const& _input)
|
||||
{
|
||||
static set<string> keys{"peephole", "jumpdestRemover", "orderLiterals", "deduplicate", "cse", "constantOptimizer", "yul", "yulDetails"};
|
||||
static set<string> keys{"peephole", "inliner", "jumpdestRemover", "orderLiterals", "deduplicate", "cse", "constantOptimizer", "yul", "yulDetails"};
|
||||
return checkKeys(_input, keys, "settings.optimizer.details");
|
||||
}
|
||||
|
||||
|
@ -1195,7 +1195,8 @@ BOOST_AUTO_TEST_CASE(optimizer_settings_details_different)
|
||||
"jumpdestRemover" : true,
|
||||
"orderLiterals" : false,
|
||||
"peephole" : true,
|
||||
"yul": true
|
||||
"yul": true,
|
||||
"inliner": true
|
||||
} }
|
||||
},
|
||||
"sources": {
|
||||
|
Loading…
Reference in New Issue
Block a user