aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerContext.cpp
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2016-04-04 19:41:35 +0800
committerDimitry <dimitry@ethdev.com>2016-04-04 19:41:35 +0800
commitd2cee6f9c6babdf8c857e9860d68b6876d71a7eb (patch)
treec60a596054e999de8ad797e8af9b38598041d3fa /libsolidity/codegen/CompilerContext.cpp
parentd43d4347bf1e37bb8f114c9df0e2ae62545fbc87 (diff)
downloaddexon-solidity-d2cee6f9c6babdf8c857e9860d68b6876d71a7eb.tar.gz
dexon-solidity-d2cee6f9c6babdf8c857e9860d68b6876d71a7eb.tar.zst
dexon-solidity-d2cee6f9c6babdf8c857e9860d68b6876d71a7eb.zip
reduce unnecessary solidity:: namespace
Diffstat (limited to 'libsolidity/codegen/CompilerContext.cpp')
-rw-r--r--libsolidity/codegen/CompilerContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index a2384796..7810288e 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -166,7 +166,7 @@ pair<u256, unsigned> CompilerContext::storageLocationOfVariable(const Declaratio
CompilerContext& CompilerContext::appendJump(eth::AssemblyItem::JumpType _jumpType)
{
- eth::AssemblyItem item(solidity::Instruction::JUMP);
+ eth::AssemblyItem item(Instruction::JUMP);
item.setJumpType(_jumpType);
return *this << item;
}
@@ -182,7 +182,7 @@ void CompilerContext::resetVisitedNodes(ASTNode const* _node)
void CompilerContext::injectVersionStampIntoSub(size_t _subIndex)
{
eth::Assembly& sub = m_asm.sub(_subIndex);
- sub.injectStart(solidity::Instruction::POP);
+ sub.injectStart(Instruction::POP);
sub.injectStart(fromBigEndian<u256>(binaryVersion()));
}