aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-12 01:53:55 +0800
committerchriseth <chris@ethereum.org>2017-04-12 01:54:44 +0800
commit4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0 (patch)
treed51facab8f451bde3bffb2b79aa95991b61ca14d /libsolidity
parentbd48f181b588978461fb4651839c62bcac7888d4 (diff)
downloaddexon-solidity-4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0.tar
dexon-solidity-4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0.tar.gz
dexon-solidity-4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0.tar.bz2
dexon-solidity-4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0.tar.lz
dexon-solidity-4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0.tar.xz
dexon-solidity-4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0.tar.zst
dexon-solidity-4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0.zip
Implement missing assembly output functions and do not use PushString for assembly.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp
index 78a9ee27..fdfd9abe 100644
--- a/libsolidity/inlineasm/AsmCodeGen.cpp
+++ b/libsolidity/inlineasm/AsmCodeGen.cpp
@@ -130,7 +130,7 @@ public:
else
{
solAssert(_literal.value.size() <= 32, "");
- m_state.assembly.append(_literal.value);
+ m_state.assembly.append(u256(h256(_literal.value, h256::FromBinary, h256::AlignLeft)));
}
}
void operator()(assembly::Identifier const& _identifier)