aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-11-24 18:31:14 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-11-25 22:45:17 +0800
commit3fb9625127c869b3d5b4b8e590dc6feb52e4eeec (patch)
treee98a973de57c84198b381a2d5b73b4b3b0cccb63 /libsolidity
parentea628001d5f34ee1d85398a17f93e7c4f55429fe (diff)
downloaddexon-solidity-3fb9625127c869b3d5b4b8e590dc6feb52e4eeec.tar.gz
dexon-solidity-3fb9625127c869b3d5b4b8e590dc6feb52e4eeec.tar.zst
dexon-solidity-3fb9625127c869b3d5b4b8e590dc6feb52e4eeec.zip
codegen: document _chopSignBits parameter of convertType function
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/codegen/CompilerUtils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h
index 977e96d9..4baf48ff 100644
--- a/libsolidity/codegen/CompilerUtils.h
+++ b/libsolidity/codegen/CompilerUtils.h
@@ -130,6 +130,7 @@ public:
/// if a reference type is converted from calldata or storage to memory.
/// If @a _cleanupNeeded, high order bits cleanup is also done if no type conversion would be
/// necessary.
+ /// If @a _chopSignBits, the function resets the signed bits out of the width of the signed integer.
void convertType(Type const& _typeOnStack, Type const& _targetType, bool _cleanupNeeded = false, bool _chopSignBits = false);
/// Creates a zero-value for the given type and puts it onto the stack. This might allocate