aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-30 18:03:26 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-03 06:40:47 +0800
commit8fd1d4167d2d05363ecf6af7ada42da940199900 (patch)
tree3a1765d3d4ef9efbec7e8afceaad4d41f3056a62 /libsolidity/codegen/CompilerUtils.h
parentc7ae042114e50ceccd2c230abf80ac7b246d0a44 (diff)
downloaddexon-solidity-8fd1d4167d2d05363ecf6af7ada42da940199900.tar.gz
dexon-solidity-8fd1d4167d2d05363ecf6af7ada42da940199900.tar.zst
dexon-solidity-8fd1d4167d2d05363ecf6af7ada42da940199900.zip
Change shiftNumberOnStack to bits
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-rw-r--r--libsolidity/codegen/CompilerUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h
index 278f9302..fb169463 100644
--- a/libsolidity/codegen/CompilerUtils.h
+++ b/libsolidity/codegen/CompilerUtils.h
@@ -177,10 +177,10 @@ public:
static unsigned sizeOnStack(std::vector<std::shared_ptr<Type const>> const& _variableTypes);
/// Helper function to shift top value on the stack to the left.
- void leftShiftNumberOnStack(u256 _shiftFactor);
+ void leftShiftNumberOnStack(unsigned _bits);
/// Helper function to shift top value on the stack to the right.
- void rightShiftNumberOnStack(u256 _shiftFactor, bool _isSigned = false);
+ void rightShiftNumberOnStack(unsigned _bits, bool _isSigned = false);
/// Appends code that computes tha Keccak-256 hash of the topmost stack element of 32 byte type.
void computeHashStatic();