Implement signed subtraction for sol->yul code generation.

This commit is contained in:
Daniel Kirchner
2019-06-20 12:16:56 +02:00
committed by chriseth
parent 88988af561
commit 5f6af8b374
5 changed files with 74 additions and 6 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ public:
/// @returns computes the difference between two values.
/// Assumes the input to be in range for the type.
/// signature: (x, y) -> diff
std::string overflowCheckedUIntSubFunction();
std::string overflowCheckedIntSubFunction(IntegerType const& _type);
/// @returns the name of a function that fetches the length of the given
/// array