diff options
author | Dimitry <winsvega@mail.ru> | 2016-04-02 20:56:43 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2016-04-02 20:56:43 +0800 |
commit | 858c41260d4cec26ba38ea3bd2ef71dcede63f7c (patch) | |
tree | 8dd03312a5f926f8dd95a4a7f0798c2b6624c1e3 /libevmasm/AssemblyItem.cpp | |
parent | ccbd3ff63feb696025c18211c3c93bab47f755b0 (diff) | |
download | dexon-solidity-858c41260d4cec26ba38ea3bd2ef71dcede63f7c.tar dexon-solidity-858c41260d4cec26ba38ea3bd2ef71dcede63f7c.tar.gz dexon-solidity-858c41260d4cec26ba38ea3bd2ef71dcede63f7c.tar.bz2 dexon-solidity-858c41260d4cec26ba38ea3bd2ef71dcede63f7c.tar.lz dexon-solidity-858c41260d4cec26ba38ea3bd2ef71dcede63f7c.tar.xz dexon-solidity-858c41260d4cec26ba38ea3bd2ef71dcede63f7c.tar.zst dexon-solidity-858c41260d4cec26ba38ea3bd2ef71dcede63f7c.zip |
rename namespace for instruction.h/cpp in libevmasm
Diffstat (limited to 'libevmasm/AssemblyItem.cpp')
-rw-r--r-- | libevmasm/AssemblyItem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp index d7051064..2bdc6391 100644 --- a/libevmasm/AssemblyItem.cpp +++ b/libevmasm/AssemblyItem.cpp @@ -57,7 +57,7 @@ int AssemblyItem::deposit() const switch (m_type) { case Operation: - return instructionInfo(instruction()).ret - instructionInfo(instruction()).args; + return getInstructionInfo(instruction()).ret - getInstructionInfo(instruction()).args; case Push: case PushString: case PushTag: @@ -93,8 +93,8 @@ ostream& dev::eth::operator<<(ostream& _out, AssemblyItem const& _item) switch (_item.type()) { case Operation: - _out << " " << instructionInfo(_item.instruction()).name; - if (_item.instruction() == eth::Instruction::JUMP || _item.instruction() == eth::Instruction::JUMPI) + _out << " " << getInstructionInfo(_item.instruction()).name; + if (_item.instruction() == solidity::Instruction::JUMP || _item.instruction() == solidity::Instruction::JUMPI) _out << "\t" << _item.getJumpTypeAsString(); break; case Push: |