diff options
author | chriseth <chris@ethereum.org> | 2016-12-08 23:15:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-08 23:15:35 +0800 |
commit | 84443eb56022cdb236425b99e253d0b142261372 (patch) | |
tree | 4521cefe6c045373644c20b485c0b31c2ee9edd5 /libsolidity/codegen/CompilerUtils.h | |
parent | e7ff4ac810a44cf3bfd58ee4ff198f136f011e2d (diff) | |
parent | e7760417e83cf9e313c76cdd44f860aeec1b798c (diff) | |
download | dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar.gz dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar.bz2 dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar.lz dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar.xz dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar.zst dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.zip |
Merge pull request #1351 from ethereum/truncate_bit
Truncate a boolean from calldata into one bit
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-rw-r--r-- | libsolidity/codegen/CompilerUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h index 4baf48ff..0a5d8e1c 100644 --- a/libsolidity/codegen/CompilerUtils.h +++ b/libsolidity/codegen/CompilerUtils.h @@ -185,7 +185,7 @@ private: void cleanHigherOrderBits(IntegerType const& _typeOnStack); /// Prepares the given type for storing in memory by shifting it if necessary. - unsigned prepareMemoryStore(Type const& _type, bool _padToWordBoundaries) const; + unsigned prepareMemoryStore(Type const& _type, bool _padToWordBoundaries); /// Loads type from memory assuming memory offset is on stack top. unsigned loadFromMemoryHelper(Type const& _type, bool _fromCalldata, bool _padToWordBoundaries); |