mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5472 from ethereum/assemblyAnnotationOutput
Jumps with annotations cannot be functional.
This commit is contained in:
commit
2e861bf1a0
@ -13,6 +13,7 @@ Compiler Features:
|
||||
|
||||
|
||||
Bugfixes:
|
||||
* Assembly output: Do not mix in/out jump annotations with arguments.
|
||||
|
||||
Build System:
|
||||
* Emscripten: Upgrade to Emscripten SDK 1.37.21 and boost 1.67.
|
||||
|
@ -117,6 +117,8 @@ int AssemblyItem::returnValues() const
|
||||
|
||||
bool AssemblyItem::canBeFunctional() const
|
||||
{
|
||||
if (m_jumpType != JumpType::Ordinary)
|
||||
return false;
|
||||
switch (m_type)
|
||||
{
|
||||
case Operation:
|
||||
|
Loading…
Reference in New Issue
Block a user