mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5892 from ethereum/fixme
Change FIXMEs into TODOs where appropriate
This commit is contained in:
commit
ebf503a67d
@ -3027,8 +3027,8 @@ u256 FunctionType::externalIdentifier() const
|
||||
|
||||
bool FunctionType::isPure() const
|
||||
{
|
||||
// FIXME: replace this with m_stateMutability == StateMutability::Pure once
|
||||
// the callgraph analyzer is in place
|
||||
// TODO: replace this with m_stateMutability == StateMutability::Pure once
|
||||
// the callgraph analyzer is in place
|
||||
return
|
||||
m_kind == Kind::KECCAK256 ||
|
||||
m_kind == Kind::ECRecover ||
|
||||
|
@ -473,7 +473,7 @@ eth::LinkerObject const& CompilerStack::runtimeObject(string const& _contractNam
|
||||
return contract(_contractName).runtimeObject;
|
||||
}
|
||||
|
||||
/// FIXME: cache this string
|
||||
/// TODO: cache this string
|
||||
string CompilerStack::assemblyString(string const& _contractName, StringMap _sourceCodes) const
|
||||
{
|
||||
if (m_stackState != CompilationSuccessful)
|
||||
@ -486,7 +486,7 @@ string CompilerStack::assemblyString(string const& _contractName, StringMap _sou
|
||||
return string();
|
||||
}
|
||||
|
||||
/// FIXME: cache the JSON
|
||||
/// TODO: cache the JSON
|
||||
Json::Value CompilerStack::assemblyJSON(string const& _contractName, StringMap _sourceCodes) const
|
||||
{
|
||||
if (m_stackState != CompilationSuccessful)
|
||||
|
@ -50,7 +50,7 @@ void InlinableExpressionFunctionFinder::operator()(FunctionDefinition const& _fu
|
||||
Assignment const& assignment = boost::get<Assignment>(bodyStatement);
|
||||
if (assignment.variableNames.size() == 1 && assignment.variableNames.front().name == retVariable)
|
||||
{
|
||||
// FIXME: use code size metric here
|
||||
// TODO: use code size metric here
|
||||
|
||||
// We cannot overwrite previous settings, because this function definition
|
||||
// would not be valid here if we were searching inside a functionally inlinable
|
||||
|
Loading…
Reference in New Issue
Block a user