diff options
author | chriseth <chris@ethereum.org> | 2018-12-06 22:33:26 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-12-11 00:11:48 +0800 |
commit | 53f531ecb0ef6bc5e5cfe06720b08619f1181a35 (patch) | |
tree | fcd45cc08205477b12bd37f729dbf44da6816126 /libsolidity/codegen/CompilerUtils.cpp | |
parent | 871ea22bb9158e23254406d21673cfbeda2d7138 (diff) | |
download | dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar.gz dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.tar.zst dexon-solidity-53f531ecb0ef6bc5e5cfe06720b08619f1181a35.zip |
Set codecopy limit for data to 32 bytes.
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.cpp')
-rw-r--r-- | libsolidity/codegen/CompilerUtils.cpp | 2 |
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) { |