diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2013-09-26 15:10:54 -0500 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2013-09-26 15:10:54 -0500 |
commit | ab31ad2704da49734349a2d6b9638a21cb0af31b (patch) | |
tree | b986567c4624c01963ae7e70de23b52682cc3265 /compiler | |
parent | becd55dced7546ee4ba12cec5d849f76878059be (diff) | |
download | Nim-ab31ad2704da49734349a2d6b9638a21cb0af31b.tar.gz |
don't mess with semfold, use vars instead
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semfold.nim | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/semfold.nim b/compiler/semfold.nim index ebde9a2be..ca06ea1b6 100644 --- a/compiler/semfold.nim +++ b/compiler/semfold.nim @@ -315,7 +315,6 @@ proc evalOp(m: TMagic, n, a, b, c: PNode): PNode = of mLtStr: result = newIntNodeT(ord(getStr(a) < getStr(b)), n) of mLeStr: result = newIntNodeT(ord(getStr(a) <= getStr(b)), n) of mEqStr: result = newIntNodeT(ord(getStr(a) == getStr(b)), n) - of mEqCString: result = newIntNodeT(ord(getStr(a) == getStr(b)), n) of mLtU, mLtU64: result = newIntNodeT(ord(`<%`(getOrdValue(a), getOrdValue(b))), n) of mLeU, mLeU64: |