aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-06 22:33:26 +0800
committerchriseth <chris@ethereum.org>2018-12-11 00:11:48 +0800
commit53f531ecb0ef6bc5e5cfe06720b08619f1181a35 (patch)
treefcd45cc08205477b12bd37f729dbf44da6816126
parent871ea22bb9158e23254406d21673cfbeda2d7138 (diff)
downloaddexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar
dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar.gz
dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar.bz2
dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar.lz
dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar.xz
dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar.zst
dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.zip
Set codecopy limit for data to 32 bytes.
-rw-r--r--libsolidity/codegen/CompilerUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerUtils.cpp b/libsolidity/codegen/CompilerUtils.cpp
index 7d2ad9d2..259f1620 100644
--- a/libsolidity/codegen/CompilerUtils.cpp
+++ b/libsolidity/codegen/CompilerUtils.cpp
@@ -1205,7 +1205,7 @@ void CompilerUtils::storeStringData(bytesConstRef _data)
{
//@todo provide both alternatives to the optimiser
// stack: mempos
- if (_data.size() <= 128)
+ if (_data.size() <= 32)
{
for (unsigned i = 0; i < _data.size(); i += 32)
{