Add overflow checks for unary minus.

This commit is contained in:
Dianne Skoll
2021-01-30 21:02:56 -05:00
parent 2123bf4b18
commit d667c15b25
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -57,3 +57,4 @@ else \
extern int _private_div(int a, int b);
extern int _private_add_overflow(int result, int b, int old);
extern int _private_sub_overflow(int result, int b, int old);
extern int _private_unminus_overflow(int a, int b);