aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-04-19 00:11:25 +0800
committerGitHub <noreply@github.com>2017-04-19 00:11:25 +0800
commit3cacea74c9589b70fffd0ec620c21043742ceb26 (patch)
tree87fa14312d1209d97c375228c7c5d05148aa5faf /libsolidity
parent937397ed9c9f65007fd5c7f4da2e360e74463a5e (diff)
parent8ebea783f4b32c6ff4bb3771a28127676aeb9bad (diff)
downloaddexon-solidity-3cacea74c9589b70fffd0ec620c21043742ceb26.tar.gz
dexon-solidity-3cacea74c9589b70fffd0ec620c21043742ceb26.tar.zst
dexon-solidity-3cacea74c9589b70fffd0ec620c21043742ceb26.zip
Merge pull request #2117 from ethereum/implementAsmOut
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)