diff options
author | Dimitry <dimitry@ethdev.com> | 2016-04-04 19:27:09 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2016-04-04 19:27:09 +0800 |
commit | d43d4347bf1e37bb8f114c9df0e2ae62545fbc87 (patch) | |
tree | 2f8ee0e7ff5c349f42391689796ab8930d0fe1ff /libevmasm/AssemblyItem.cpp | |
parent | 98165100658bc4f29e6194f0c5ede6e5b9d516f5 (diff) | |
download | dexon-solidity-d43d4347bf1e37bb8f114c9df0e2ae62545fbc87.tar.gz dexon-solidity-d43d4347bf1e37bb8f114c9df0e2ae62545fbc87.tar.zst dexon-solidity-d43d4347bf1e37bb8f114c9df0e2ae62545fbc87.zip |
return instructionInfo style
Diffstat (limited to 'libevmasm/AssemblyItem.cpp')
-rw-r--r-- | libevmasm/AssemblyItem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp index 2bdc6391..599ded85 100644 --- a/libevmasm/AssemblyItem.cpp +++ b/libevmasm/AssemblyItem.cpp @@ -57,7 +57,7 @@ int AssemblyItem::deposit() const switch (m_type) { case Operation: - return getInstructionInfo(instruction()).ret - getInstructionInfo(instruction()).args; + return instructionInfo(instruction()).ret - instructionInfo(instruction()).args; case Push: case PushString: case PushTag: @@ -93,7 +93,7 @@ ostream& dev::eth::operator<<(ostream& _out, AssemblyItem const& _item) switch (_item.type()) { case Operation: - _out << " " << getInstructionInfo(_item.instruction()).name; + _out << " " << instructionInfo(_item.instruction()).name; if (_item.instruction() == solidity::Instruction::JUMP || _item.instruction() == solidity::Instruction::JUMPI) _out << "\t" << _item.getJumpTypeAsString(); break; |