aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-07-24 04:51:14 +0800
committerGav Wood <i@gavwood.com>2014-07-24 04:51:14 +0800
commitb56713375074a1db82ad44726f43dcfc12f37141 (patch)
tree4dfe09ab4226263f33bbcd701a6aa8db891a2a4e
parent8dfad3e7c0ef1f0dd7527e0ed52663b52fc1e870 (diff)
downloaddexon-solidity-b56713375074a1db82ad44726f43dcfc12f37141.tar
dexon-solidity-b56713375074a1db82ad44726f43dcfc12f37141.tar.gz
dexon-solidity-b56713375074a1db82ad44726f43dcfc12f37141.tar.bz2
dexon-solidity-b56713375074a1db82ad44726f43dcfc12f37141.tar.lz
dexon-solidity-b56713375074a1db82ad44726f43dcfc12f37141.tar.xz
dexon-solidity-b56713375074a1db82ad44726f43dcfc12f37141.tar.zst
dexon-solidity-b56713375074a1db82ad44726f43dcfc12f37141.zip
Minor updates.
-rw-r--r--Assembly.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Assembly.cpp b/Assembly.cpp
index 6f567853..3abdf66f 100644
--- a/Assembly.cpp
+++ b/Assembly.cpp
@@ -116,7 +116,7 @@ ostream& eth::operator<<(ostream& _out, AssemblyItemsConstRef _i)
_out << " PUSH" << i.data();
break;
case PushString:
- _out << " PUSH'[" << h256(i.data()).abridged() << "]";
+ _out << " PUSH'[" << hex << (unsigned)i.data() << "]";
break;
case PushTag:
_out << " PUSH[tag" << i.data() << "]";
@@ -125,7 +125,7 @@ ostream& eth::operator<<(ostream& _out, AssemblyItemsConstRef _i)
_out << " tag" << i.data() << ":";
break;
case PushData:
- _out << " PUSH*[" << h256(i.data()).abridged() << "]";
+ _out << " PUSH*[" << hex << (unsigned)i.data() << "]";
break;
case UndefinedItem:
_out << " ???";
@@ -156,7 +156,7 @@ ostream& Assembly::streamOut(ostream& _out) const
_out << "tag" << i.m_data << ": " << endl;
break;
case PushData:
- _out << " PUSH [" << h256(i.m_data).abridged() << "]" << endl;
+ _out << " PUSH [" << hex << (unsigned)i.m_data << "]" << endl;
break;
default:;
}
@@ -165,7 +165,7 @@ ostream& Assembly::streamOut(ostream& _out) const
{
_out << ".data:" << endl;
for (auto const& i: m_data)
- _out << " " << i.first.abridged() << ": " << toHex(i.second) << endl;
+ _out << " " << hex << (unsigned)(u256)i.first << ": " << toHex(i.second) << endl;
}
return _out;
}