Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | VM profiler (#14833) | Ico Doornekamp | 2020-07-09 | 1 | -12/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Crude VM profiler * Added --profileVM flag, refactoring * fixed FileLine hash * Use TLineInfo instead of own FileLine, updated formatting * Refactoring, moved PStackFrame to vmdefs for cleaner data structure * Moved vmprofiler to separate file * Simplified TLineInfo hash, use toFileLineCol for output * Hash * Moved profile data into Config, dump only once at end of run * Changed profile output header to show '#instr' instead of 'count' * Do not accumulate instrcount for non-top frames Co-authored-by: Ico Doornekamp <git@zevv.nl> | ||||
* | Deprecated laxStrings for mutating the internal zero terminator on strings ↵ | Juan Carlos | 2020-06-23 | 1 | -2/+0 |
| | | | | | and its Deprecated code cleaned out (#14766) Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | `hintMsgOrigin` now works in VM code (#14678) | Timothee Cour | 2020-06-16 | 1 | -10/+8 |
| | | | | | * `hintMsgOrigin` now works in VM code * remove a simplification for now | ||||
* | fixes #14340 | Araq | 2020-05-14 | 1 | -4/+4 |
| | |||||
* | Make ./koch temp --gc:arc work (#14186) | Clyybber | 2020-05-01 | 1 | -3/+6 |
| | |||||
* | fix https://github.com/timotheecour/Nim/issues/88 (#13865) [backport:1.2] | Timothee Cour | 2020-04-06 | 1 | -30/+23 |
| | |||||
* | Fix vm.nim for --gc:arc (#13741) | Clyybber | 2020-03-26 | 1 | -14/+2 |
| | | | | | | | | | | | | | * koch boot --gc:arc now passes the nim stage ... but generates invalid C code * Move it closer to where its used * Try something else * Poor mans var * Use UncheckedArray instead | ||||
* | fixes #13744 (#13749) | cooldome | 2020-03-25 | 1 | -0/+6 |
| | | | | | | | * fixes #13744 * improve style Co-authored-by: cooldome <ariabushenko@gmail.ru> | ||||
* | Remove dead magics (#13551) | Arne Döring | 2020-03-03 | 1 | -5/+0 |
| | |||||
* | fix #13479 (#13503) | Arne Döring | 2020-02-26 | 1 | -2/+2 |
| | |||||
* | make goto based exceptions available for 'nim cpp' (#13244) | Andreas Rumpf | 2020-01-25 | 1 | -1/+1 |
| | | | | | * make goto based exceptions available for 'nim cpp' * optimize seq.add to be comparable to C++'s emplace_back | ||||
* | VM: allow overriding MaxLoopIterations without rebuilding nim (#13233) | Timothee Cour | 2020-01-23 | 1 | -4/+3 |
| | |||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 1 | -51/+26 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) | Timothee Cour | 2020-01-05 | 1 | -19/+153 |
| | | | | | | | | | | | | | | * 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 | ||||
* | VM: allow ptr setting ptr fields (#12825) | Timothee Cour | 2019-12-06 | 1 | -1/+5 |
| | |||||
* | fixes #11727 [backport] | Araq | 2019-11-28 | 1 | -2/+4 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -68/+68 |
| | | | | | | | | | | | | | | | | | | * 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 | -0/+27 |
| | |||||
* | fixes #12670 [backport] (#12693) | Andreas Rumpf | 2019-11-20 | 1 | -1/+2 |
| | |||||
* | ARC: solves phase ordering problems (#12654) | Andreas Rumpf | 2019-11-14 | 1 | -10/+12 |
| | |||||
* | backtick and export marker handling in `eqIdent` (#12574) | Arne Döring | 2019-11-07 | 1 | -5/+16 |
| | |||||
* | fixes #12244 [backport] | Araq | 2019-10-10 | 1 | -1/+0 |
| | |||||
* | VM: no special casing for big endian machines; refs #9690 [backport] (#12364) | Andreas Rumpf | 2019-10-06 | 1 | -6/+2 |
| | |||||
* | fixes #12281 [backport] | Andreas Rumpf | 2019-09-30 | 1 | -5/+6 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -4/+4 |
| | |||||
* | add nodeId proc to macros (#11456) | Arne Döring | 2019-09-18 | 1 | -0/+6 |
| | | | | | | | | * 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 | -4/+4 |
| | |||||
* | fixes #12195 | Araq | 2019-09-17 | 1 | -6/+14 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -5/+5 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | error for NimNode index kind (#12154) | Jasper Jenkins | 2019-09-08 | 1 | -6/+10 |
| | |||||
* | fixes #12125 (#12131) | Andreas Rumpf | 2019-09-06 | 1 | -11/+14 |
| | | | | * fixes #12125 | ||||
* | fixes #11903 (#11908) | Arne Döring | 2019-08-31 | 1 | -1/+3 |
| | |||||
* | new gensym handling (#11985) | Andreas Rumpf | 2019-08-23 | 1 | -1/+1 |
| | | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package | ||||
* | Lock semchecked ast for macros (#11883) [bugfix] | Arne Döring | 2019-08-08 | 1 | -10/+15 |
| | | | | | | * reject to modify type checked AST * add flag to back out * Introduce legacy feature set. | ||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -3/+3 |
| | | | | * fixes #11847 | ||||
* | VM exception fixes (#11868) | Oscar Nihlgård | 2019-08-02 | 1 | -2/+10 |
| | |||||
* | Fix VM conversion to var type [bugfix] (#11866) | Oscar Nihlgård | 2019-08-01 | 1 | -2/+2 |
| | |||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -1/+1 |
| | |||||
* | 'nim check' stability improvements | Araq | 2019-07-14 | 1 | -1/+9 |
| | |||||
* | fixes #8405: -d:useNimRtl now works even when {.rtl.} procs are used at ↵ | Timothee Cour | 2019-07-03 | 1 | -1/+4 |
| | | | | 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 | -10/+0 |
| | | | | | * remove zeroExtend and friends from the compiler builtins. * fix jssys | ||||
* | fix for passing tuples as static params to macros (#11423); fixes #10751 ↵ | Arne Döring | 2019-06-07 | 1 | -3/+20 |
| | | | | | | | | [bugfix] * add vm value preparation proc * small optimization | ||||
* | fix macrocache implementation (#11404) | andri lim | 2019-06-05 | 1 | -7/+9 |
| | | | | | | * macrocache improvements * fix macrocache implementation | ||||
* | intVal works now on enum field symbols (#11403) | Arne Döring | 2019-06-05 | 1 | -3/+8 |
| | | | | | | * intVal works now on enum field symbols * disable flakey titerators test | ||||
* | pass typedesc as NimNode to macros (#11400) | Arne Döring | 2019-06-05 | 1 | -2/+2 |
| | | | | | | | | * change typedesc's design in macros * Manual and changelog entry. * add link to RFC | ||||
* | make fullpaths the default in error messages and stack traces for mor… ↵ | Andreas Rumpf | 2019-06-05 | 1 | -1/+1 |
| | | | | | | | | | | | | (#11385) * make fullpaths the default in error messages and stack traces for more convenient development * split up -d:release into -d:release and -d:danger flags * workaround a Nim config parser bug * fixes an old nim config parser bug * make megatest green again * make nimpretty tests work again * make nimsuggest green | ||||
* | Remove immediate pragma (#11308) | Arne Döring | 2019-05-29 | 1 | -11/+6 |
| | | | | | * remove immediate from tests * remove immediate from the compiler | ||||
* | right shift is now by default sign preserving (#11322) | Arne Döring | 2019-05-29 | 1 | -5/+11 |
| | | | | | | | | | | | * right shift is now by default sign preserving * fix hashString and semfold * enable arithmetic shift right globally for CI * fix typo * remove xxx * use oldShiftRight as flag * apply feedback * add changelog entry | ||||
* | Allow void macro result (#11286) | Arne Döring | 2019-05-21 | 1 | -1/+1 |
| | | | | | * allow void macro result * add test for void macro result type | ||||
* | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -1/+1 |
| |