mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reenable static jumps
This commit is contained in:
parent
c51af38724
commit
8faf4d3879
@ -213,11 +213,11 @@ public:
|
|||||||
evmasm::AssemblyItem const& _tag,
|
evmasm::AssemblyItem const& _tag,
|
||||||
evmasm::AssemblyItem::JumpType _jumpType = evmasm::AssemblyItem::JumpType::Ordinary
|
evmasm::AssemblyItem::JumpType _jumpType = evmasm::AssemblyItem::JumpType::Ordinary
|
||||||
) {
|
) {
|
||||||
*m_asm << _tag.pushTag();
|
// *m_asm << _tag.pushTag();
|
||||||
return appendJump(_jumpType);
|
// return appendJump(_jumpType);
|
||||||
// evmasm::AssemblyItem item = m_asm->appendStaticJump(_tag);
|
evmasm::AssemblyItem item = m_asm->appendStaticJump(_tag);
|
||||||
// item.setJumpType(_jumpType);
|
item.setJumpType(_jumpType);
|
||||||
// return *this << item;
|
return *this << item;
|
||||||
}
|
}
|
||||||
/// Appends pushing of a new tag and @returns the new tag.
|
/// Appends pushing of a new tag and @returns the new tag.
|
||||||
evmasm::AssemblyItem pushNewTag() { return m_asm->append(m_asm->newPushTag()).tag(); }
|
evmasm::AssemblyItem pushNewTag() { return m_asm->append(m_asm->newPushTag()).tag(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user