mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Jumps with annotations cannot be functional.
This commit is contained in:
parent
2bf5e6fa9c
commit
82055cbb61
@ -117,6 +117,8 @@ int AssemblyItem::returnValues() const
|
|||||||
|
|
||||||
bool AssemblyItem::canBeFunctional() const
|
bool AssemblyItem::canBeFunctional() const
|
||||||
{
|
{
|
||||||
|
if (m_jumpType != JumpType::Ordinary)
|
||||||
|
return false;
|
||||||
switch (m_type)
|
switch (m_type)
|
||||||
{
|
{
|
||||||
case Operation:
|
case Operation:
|
||||||
|
Loading…
Reference in New Issue
Block a user