summary refs log tree commit diff stats
path: root/compiler/vm.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix #9872: setLen now works properly at CT [backport]Timothee Cour2018-12-081-16/+2
|
* Add isInstanceOf for generic procs to the macros module (#9730)cooldome2018-11-211-0/+11
|
* Of operator in vm fixes [backport] (#9717)cooldome2018-11-151-1/+1
| | | | | | * fixes #9701 * fixes #9702 * optimize of statement to bool
* VM: don't inject destructor calls, refs #7041Andreas Rumpf2018-11-061-6/+6
|
* Add testAndrii Riabushenko2018-10-241-5/+9
|
* Add int float casts to vmAndrii Riabushenko2018-10-241-0/+12
|
* Change the order of compilation passes, transformation is made lazy at code ↵cooldome2018-10-181-0/+11
| | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-091-1/+1
| | | Closes #9068
* Fix error during field access in VMLemonBoy2018-09-171-3/+7
| | | | | | | Tuple constructors can't have nkExprColonExpr but may contain NimNodes of that kind. Fixes #4952
* Add sym owner to macros (#8253)cooldome2018-09-031-0/+9
|
* fixes the remaining fixable Nimrod->Nim renamings; closes #2032Araq2018-09-031-1/+1
|
* fixes #8740Araq2018-09-031-1/+1
|
* Allow `hint` and `warning` to specify its loc info (#8771)LemonBoy2018-08-281-8/+12
| | | Let's bring those to feature-parity with `error`.
* fixes 8754 (#8755)cooldome2018-08-241-0/+8
| | | | | | * fixes 8754 * improve test
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-12/+10
|
* fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-0/+3
|
* fixes #5617, 'copyLineInfo' addition (#8523)andri lim2018-08-051-14/+13
|
* fixes #7827, bindSym enhancement (#8499)andri lim2018-08-021-1/+17
| | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym
* `lineInfoObj` (and `check`, `expect`) now return absolute paths (#8466)Timothee Cour2018-07-311-1/+1
|
* Fix ref bug in vmgen (#8424)Oscar Nihlgård2018-07-301-8/+1
|
* VM: accessing the string terminator is not allowed anymore; cleanup ↵Andreas Rumpf2018-07-171-1/+3
| | | | tests/system/tostring.nim
* Fix vm regression (#8163)Oscar Nihlgård2018-06-301-0/+7
|
* Fixes #6689 (#8135)Oscar Nihlgård2018-06-301-2/+8
|
* VM regression fixes (#8146)Oscar Nihlgård2018-06-291-1/+3
|
* Improve vm support for ref typesOscar Nihlgård2018-06-261-21/+26
|
* completed VM support for incremental compilationsAndreas Rumpf2018-06-041-26/+38
|
* WIP: an API for VM replay global state supportAndreas Rumpf2018-06-031-1/+90
|
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-17/+17
|
* compiler API: final cleanups; improve security by diabling 'gorge' and friendsAndreas Rumpf2018-05-291-9/+12
|
* vm now free of global variablesAndreas Rumpf2018-05-281-14/+8
|
* vm.nim: evalMacroCounter is not a global variable anymoreAndreas Rumpf2018-05-281-6/+5
|
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-6/+6
| | | | around explicitly
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|
* Merge branch 'devel' into araq-big-refactoringAndreas Rumpf2018-05-211-1/+1
|\
| * Fix typo in "out of bounds" error messagecoffeepots2018-05-181-1/+1
| |
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-10/+10
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-4/+4
| |
* | remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-3/+3
|/
* fixes testament compilationAraq2018-05-141-2/+8
|\
| * VM fix for refsOscar Nihlgård2018-05-081-2/+8
| |
* | move more globals into the config objectAndreas Rumpf2018-05-131-9/+9
| |
* | more modules compile againAndreas Rumpf2018-05-121-1/+1
| |
* | more modules compile againAndreas Rumpf2018-05-121-100/+110
|/
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-20/+21
|
* make tests green againAndreas Rumpf2018-04-211-1/+1
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-3/+3
| | | | uint16; fixes #7654
* allow setting template/macro recursive evaluation limits (#7652)jcosborn2018-04-191-2/+4
| | | | | | | * allow setting template/macro recursive evaluation limits * revert setting template/macro eval limits set them to 1000
* eqIdent new returns false on non identifier types (#7629)Arne Döring2018-04-171-5/+13
|
* move eqIdent to vm.nim (#7585)Arne Döring2018-04-151-3/+29
| | | | | | * Strutils comment changes. * fix typo
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-9/+9
|