Refactoring bytesRequired to accept and return size_t

This commit is contained in:
Djordje Mijovic
2020-06-11 08:26:57 +02:00
parent 731b2efc97
commit 9e92fbccee
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ public:
/// @returns an upper bound for the number of bytes required by this item, assuming that
/// the value of a jump tag takes @a _addressLength bytes.
unsigned bytesRequired(unsigned _addressLength) const;
size_t bytesRequired(size_t _addressLength) const;
size_t arguments() const;
size_t returnValues() const;
size_t deposit() const { return returnValues() - arguments(); }