diff options
Diffstat (limited to 'src/tools/fuzzing.h')
-rw-r--r-- | src/tools/fuzzing.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h index 475747056..ec22d306a 100644 --- a/src/tools/fuzzing.h +++ b/src/tools/fuzzing.h @@ -1573,10 +1573,10 @@ private: // +- 1 switch (upTo(5)) { case 0: - value = value.add(Literal::makeFromInt32(-1, type)); + value = value.add(Literal::makeNegOne(type)); break; case 1: - value = value.add(Literal::makeFromInt32(1, type)); + value = value.add(Literal::makeOne(type)); break; default: { } @@ -1595,7 +1595,7 @@ private: } // Flip sign. if (oneIn(2)) { - value = value.mul(Literal::makeFromInt32(-1, type)); + value = value.mul(Literal::makeNegOne(type)); } return value; }; |