aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-10 02:22:24 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-10 19:02:48 +0800
commit74a01826ee9587ef9413e2ec808fcd53564f0b9d (patch)
treead0d4cb8d7996b0906d1d3230ab19f697a46ddaa /CompilerContext.h
parent9c82cbeddf1b03cc99660a867de8720d1d174b9c (diff)
downloaddexon-solidity-74a01826ee9587ef9413e2ec808fcd53564f0b9d.tar.gz
dexon-solidity-74a01826ee9587ef9413e2ec808fcd53564f0b9d.tar.zst
dexon-solidity-74a01826ee9587ef9413e2ec808fcd53564f0b9d.zip
added information about jump type for jump instructions
Conflicts: libevmcore/Assembly.cpp libsolidity/Compiler.cpp
Diffstat (limited to 'CompilerContext.h')
-rw-r--r--CompilerContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerContext.h b/CompilerContext.h
index 4d63d8ba..f468d29c 100644
--- a/CompilerContext.h
+++ b/CompilerContext.h
@@ -91,7 +91,7 @@ public:
/// Appends a JUMP to a new tag and @returns the tag
eth::AssemblyItem appendJumpToNew() { return m_asm.appendJump().tag(); }
/// Appends a JUMP to a tag already on the stack
- CompilerContext& appendJump() { return *this << eth::Instruction::JUMP; }
+ CompilerContext& appendJump(eth::AssemblyItem::JumpType _jumpType = eth::AssemblyItem::JumpType::Ordinary);
/// Appends a JUMP to a specific tag
CompilerContext& appendJumpTo(eth::AssemblyItem const& _tag) { m_asm.appendJump(_tag); return *this; }
/// Appends pushing of a new tag and @returns the new tag.