summary refs log tree commit diff stats
path: root/compiler/ccgexprs.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2020-03-11 01:01:25 +0100
committerGitHub <noreply@github.com>2020-03-11 01:01:25 +0100
commit2f557652d41dea81e43d36c3e89258ece620609e (patch)
tree0cac1d487c4cc8d0818abbaaebeee75ec959eea4 /compiler/ccgexprs.nim
parente64f1c7ee4a25a1df837617f4a79ce7e515b9e0d (diff)
downloadNim-2f557652d41dea81e43d36c3e89258ece620609e.tar.gz
fix operators containing percent for VM usage (#13536)
* fixes #13513
* merge tarithmetics in tarithm
Diffstat (limited to 'compiler/ccgexprs.nim')
-rw-r--r--compiler/ccgexprs.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index 277913b17..f133b97a2 100644
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -605,8 +605,6 @@ proc binaryArith(p: BProc, e: PNode, d: var TLoc, op: TMagic) =
   of mLtF64: applyFormat("($1 < $2)")
   of mLeU: applyFormat("((NU$3)($1) <= (NU$3)($2))")
   of mLtU: applyFormat("((NU$3)($1) < (NU$3)($2))")
-  of mLeU64: applyFormat("((NU64)($1) <= (NU64)($2))")
-  of mLtU64: applyFormat("((NU64)($1) < (NU64)($2))")
   of mEqEnum: applyFormat("($1 == $2)")
   of mLeEnum: applyFormat("($1 <= $2)")
   of mLtEnum: applyFormat("($1 < $2)")