diff options
author | chriseth <chris@ethereum.org> | 2017-04-12 01:53:55 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-12 01:54:44 +0800 |
commit | 4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0 (patch) | |
tree | d51facab8f451bde3bffb2b79aa95991b61ca14d /libsolidity | |
parent | bd48f181b588978461fb4651839c62bcac7888d4 (diff) | |
download | dexon-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.cpp | 2 |
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) |