Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove tyOpt, mOpt (#14636) | Timothee Cour | 2020-06-12 | 1 | -2/+0 |
| | | | | | * remove tyOpt, mOpt * fixup | ||||
* | CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static ↵ | Timothee Cour | 2020-04-23 | 1 | -3/+6 |
| | | | | | | | | | | | checks (#13926) * -d:checkabi obsolete (ABI check now enforced); add `addTypeHeader` helper * cleanups * import sizeof at CT for {.completeType.} * address comments; revert default enabling of -d:checkAbi for now * mimportc_size_check.nim => msizeof5.nim; merge mabi_check.nim into msizeof5.nim; refactor * all pragmas in errmsgs should be written: '.importc' (un-ambiguous and less verbose than {.importc.}) | ||||
* | fix operators containing percent for VM usage (#13536) | Arne Döring | 2020-03-11 | 1 | -2/+2 |
| | | | | * fixes #13513 * merge tarithmetics in tarithm | ||||
* | Remove dead magics (#13551) | Arne Döring | 2020-03-03 | 1 | -32/+3 |
| | |||||
* | EndsInNoReturn in expressions extension, fixes #13490 (#13520) | cooldome | 2020-02-28 | 1 | -2/+0 |
| | | | | * fix #13490 | ||||
* | VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) | Timothee Cour | 2020-01-05 | 1 | -4/+30 |
| | | | | | | | | | | | | | | * VM: allow certain hardcoded special var variables at CT * VM: allow all importc var, cast[int](ptr) * fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim * VM: == works for ptr/pointer nodes * bugfix: ==, cast now also works for pointer, not just ptr * VM supports cast PtrLikeKinds <=> PtrLikeKinds / int * improve cname handling * fixup + bug fix * VM: support cast from ref to int * address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI * defensive check against typ == nil | ||||
* | Refactored VM registerlayout. The size and location of the registers in (#12775) | Ico Doornekamp | 2019-11-30 | 1 | -20/+20 |
| | | | | the instructions are now all derived from a single definition, allowing the register layout to be changed. | ||||
* | fixes #11727 [backport] | Araq | 2019-11-28 | 1 | -2/+7 |
| | |||||
* | fixes #12488 [backport] | Araq | 2019-11-28 | 1 | -1/+4 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -262/+256 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | VM: improvements for var T/addr (#12667); fixes #12489 | Andreas Rumpf | 2019-11-28 | 1 | -8/+14 |
| | |||||
* | fixes #12612 [backport] (#12681) | Andreas Rumpf | 2019-11-19 | 1 | -6/+9 |
| | |||||
* | ARC: solves phase ordering problems (#12654) | Andreas Rumpf | 2019-11-14 | 1 | -2/+1 |
| | |||||
* | fixes #12547 [backport] | Araq | 2019-10-29 | 1 | -0/+7 |
| | |||||
* | VM: fixes register leaks [backport] (#12510) | Andreas Rumpf | 2019-10-25 | 1 | -0/+2 |
| | |||||
* | VM: fixes most ran-out-registers problems [backport] (#12485) | Andreas Rumpf | 2019-10-24 | 1 | -19/+38 |
| | |||||
* | fixes #12310 [backport] (#12470) | Andreas Rumpf | 2019-10-20 | 1 | -2/+6 |
| | |||||
* | fixes #12294 [backport] | Andreas Rumpf | 2019-09-30 | 1 | -1/+0 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | fixes #10981; fixes #7261 (#12217) | Andreas Rumpf | 2019-09-19 | 1 | -1/+4 |
| | |||||
* | add nodeId proc to macros (#11456) | Arne Döring | 2019-09-18 | 1 | -0/+2 |
| | | | | | | | | * add nodeId proc to macros * add doc comment. * fix typo | ||||
* | rename cast opcodes, fix for 32bit cast, fix python pretty printer (#12207) | Arne Döring | 2019-09-18 | 1 | -5/+9 |
| | |||||
* | fixes #12195 | Araq | 2019-09-17 | 1 | -18/+17 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -9/+9 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | Merge branch 'devel' into uint-range-checks | Andreas Rumpf | 2019-09-02 | 1 | -1/+1 |
|\ | |||||
| * | fix min/max for float numbers (#12068) | Arne Döring | 2019-09-02 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' into uint-range-checks | Araq | 2019-09-02 | 1 | -2/+1 |
|\| | |||||
| * | Fix to int to biggest int (#12066) | Arne Döring | 2019-08-27 | 1 | -2/+1 |
| | | | | | | | | | | * fix to(Biggest)Int * kill toFloat magics as well | ||||
* | | minor stuff | Arne Döring | 2019-08-27 | 1 | -10/+4 |
|/ | |||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -3/+3 |
| | | | | * fixes #11847 | ||||
* | fixes #9829 (#11849) | Arne Döring | 2019-08-04 | 1 | -1/+1 |
| | |||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -4/+2 |
| | |||||
* | [bugfix] VM: finally do inheritance properly | Araq | 2019-07-12 | 1 | -11/+12 |
| | |||||
* | there is only one style -- my style | Araq | 2019-07-10 | 1 | -38/+38 |
| | |||||
* | fixes #10901 | Araq | 2019-07-10 | 1 | -0/+2 |
| | |||||
* | Offsetof fixes (#11690) | Arne Döring | 2019-07-09 | 1 | -2/+6 |
| | | | | | | | | * first fixes * more tests and fixes * code normalization | ||||
* | fixes #11610 (#11659) | Andreas Rumpf | 2019-07-05 | 1 | -4/+5 |
| | |||||
* | fixes #8405: -d:useNimRtl now works even when {.rtl.} procs are used at ↵ | Timothee Cour | 2019-07-03 | 1 | -3/+7 |
| | | | | compile time; CTFFI now works with {dynlib} (#11635) | ||||
* | [refactoring] remove zeroExtend and friends from the compiler builtins. (#11531) | Arne Döring | 2019-06-24 | 1 | -15/+0 |
| | | | | | * remove zeroExtend and friends from the compiler builtins. * fix jssys | ||||
* | VM can now cast integer type arbitrarily. (#11459) [feature] | Arne Döring | 2019-06-10 | 1 | -31/+15 |
| | |||||
* | Remove immediate pragma (#11308) | Arne Döring | 2019-05-29 | 1 | -3/+1 |
| | | | | | * remove immediate from tests * remove immediate from the compiler | ||||
* | fixes #11268 (#11299) | Andreas Rumpf | 2019-05-22 | 1 | -2/+3 |
| | |||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -3/+3 |
| | |||||
* | fixes #6855 | Araq | 2019-05-10 | 1 | -4/+7 |
| | |||||
* | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -6/+6 |
| | |||||
* | introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145) | Andreas Rumpf | 2019-05-02 | 1 | -15/+26 |
| | | | | | | | | * introduce temporary <//> for 'owned' to get this compile with 0.19 * make newTable[string, owned Node]() compile (but it crashes) * make sink/owned parameters consistent * make actiontable test compile again * VM: support sytem.move; makes tests green | ||||
* | added system.unown to make 'owned' sane to use in practice; later on we ↵ | Araq | 2019-04-29 | 1 | -1/+1 |
| | | | | might change the type inference rules to make it more convenient | ||||
* | Fix #11111 nkIdentsDef left in vmgen (#11126) | Mamy Ratsimbazafy | 2019-04-27 | 1 | -2/+2 |
| | | | fixes #11111 | ||||
* | fixes #10886 [backport] (#10897) | Andreas Rumpf | 2019-03-23 | 1 | -7/+16 |
| |