Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argotorg/solidity
/ expressionAlwaysFalse
Function
expressionAlwaysFalse
libyul/optimiser/StructuralSimplifier.cpp:73–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
}
72
73
bool expressionAlwaysFalse(Expression const& _expression)
74
{
75
if (std::optional<u256> value = hasLiteralValue(_expression))
76
return *value == 0;
77
else
78
return false;
79
}
80
81
}
82
Callers
1
simplify
Method · 0.85
Calls
1
hasLiteralValue
Function · 0.85
Tested by
no test coverage detected