big refactoring: step 1

This commit is contained in:
Araq 2016-10-31 15:34:44 +01:00
commit 773d17cd14
29 changed files with 278 additions and 313 deletions

View file

@ -83,6 +83,10 @@ proc isLetLocation(m: PNode, isApprox: bool): bool =
proc interestingCaseExpr*(m: PNode): bool = isLetLocation(m, true)
let
opNot* = createMagic("not", mNot)
opContains* = createMagic("contains", mInSet)
let
opLe = createMagic("<=", mLeI)
opLt = createMagic("<", mLtI)