Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #9297 (#9298) | cooldome | 2018-10-11 | 1 | -1/+41 |
| | | | | | | * fixes #9297 * improve spacing | ||||
* | Fix wrong heuristic in codegen (#9293) | LemonBoy | 2018-10-11 | 1 | -0/+22 |
| | | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286 | ||||
* | Codegen fix for procs taking type(nil) (#9231) | xzfc | 2018-10-09 | 1 | -0/+6 |
| | |||||
* | Fix codegen for some set operations | LemonBoy | 2018-09-28 | 1 | -0/+12 |
| | | | | | | | Taking the LHS type when a temporary result value was needed lead to bad code being generated if we get a tyRef. Fixes #9098 | ||||
* | Merge pull request #8746 from LemonBoy/nil-opts | Andreas Rumpf | 2018-09-23 | 1 | -0/+13 |
|\ | | | | | nil strings are movable | ||||
| * | nil strings are movable | LemonBoy | 2018-09-22 | 1 | -0/+13 |
| | | |||||
* | | Merge pull request #8983 from cooldome/codegen_crash | Andreas Rumpf | 2018-09-18 | 1 | -1/+34 |
|\ \ | | | | | | | Fixes 8979 | ||||
| * | | Fixes 8979 | Andrii Riabushenko | 2018-09-16 | 1 | -1/+34 |
| | | | |||||
* | | | Fix codegen for set[T] parameters | LemonBoy | 2018-09-15 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | Sometimes sets are materialized as arrays and we must treat them as such: the CPP backend is pickier than the C one and would sometimes produce invalid code. Fixes #8967 | ||||
* | | | Fix hashing for codegenProc (sic) types | LemonBoy | 2018-09-14 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | Since the name mangling is inhibited we should take the user-supplied name during the sighash computation. Fixes #8964 | ||||
* | | | Fix semantic pass with borrowed magic procs (#8945) | LemonBoy | 2018-09-11 | 1 | -0/+8 |
| | | | | | | | | | Reported by pqflx3 on the forum. | ||||
* | | | Always emit hti object types if needed (#8940) | LemonBoy | 2018-09-11 | 1 | -0/+8 |
|/ / | | | | | | | | | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938 | ||||
* | | Allow wCodegenDecl on lambdas (#8892) | LemonBoy | 2018-09-07 | 1 | -0/+13 |
| | | |||||
* | | Codegen fix for function pointers marked inline (#8866) | LemonBoy | 2018-09-04 | 2 | -0/+27 |
| | | | | | | | | Fixes #5345 Fixes #5701 | ||||
* | | fixes #8781 by appending "_U" instead of 'U' (#8787) | Vindaar | 2018-08-27 | 1 | -0/+25 |
|/ | |||||
* | make more tests green; system.repr does not produce 'nil' for strings and ↵ | Araq | 2018-08-22 | 1 | -2/+2 |
| | | | | seqs anymore | ||||
* | Fix unsound transform pass (#8633) | LemonBoy | 2018-08-14 | 1 | -0/+8 |
| | | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime. | ||||
* | Fixes 8616 (#8617) | LemonBoy | 2018-08-12 | 3 | -0/+16 |
| | | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616 | ||||
* | fixes #7392 (#7395) | cooldome | 2018-03-23 | 2 | -1/+8 |
| | |||||
* | Fixes #7363 (#7371) | cooldome | 2018-03-20 | 1 | -0/+14 |
| | |||||
* | Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340) | cooldome | 2018-03-16 | 2 | -0/+27 |
| | | | Do not emit object definition it if used only by ref or ptr | ||||
* | fixes #7332 (#7341) | andri lim | 2018-03-16 | 1 | -0/+29 |
| | |||||
* | fixes #6960 | Andreas Rumpf | 2018-02-11 | 1 | -0/+31 |
| | |||||
* | Fixes codegen bug with literal negative zero, fixes #7079 (#7158) | GULPF | 2018-01-31 | 1 | -0/+9 |
| | | | | | | * Fixes #7079 * Fix handling of neg zero during constant folding | ||||
* | fixes #668 | Araq | 2017-12-15 | 1 | -0/+26 |
| | |||||
* | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 4 | -4/+4 |
| | |||||
* | fixes #6889 | Andreas Rumpf | 2017-12-08 | 1 | -0/+15 |
| | |||||
* | fixes another sighashes problem | Araq | 2017-12-08 | 1 | -0/+13 |
| | |||||
* | Fix usage of parameters types in templates #6756 (#6768) | Anatoly Galiulin | 2017-11-29 | 1 | -0/+18 |
| | |||||
* | fixes #6724 | Andreas Rumpf | 2017-11-19 | 1 | -0/+33 |
| | |||||
* | fixes #6422 | Andreas Rumpf | 2017-10-26 | 1 | -1/+18 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-10-16 | 1 | -3/+3 |
| | |||||
* | fixes #6279 | Andreas Rumpf | 2017-08-29 | 2 | -1/+13 |
| | |||||
* | fixes #6234 | Andreas Rumpf | 2017-08-11 | 1 | -0/+22 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 2 | -2/+2 |
| | |||||
* | fix #5296 (#5565) | zah | 2017-03-19 | 1 | -0/+14 |
| | |||||
* | fixes #5439 | Araq | 2017-02-26 | 1 | -0/+27 |
| | |||||
* | fixes #5404 | Araq | 2017-02-17 | 1 | -0/+16 |
| | |||||
* | fixes #5402 | Araq | 2017-02-16 | 1 | -0/+26 |
| | |||||
* | fixes #5339 | Andreas Rumpf | 2017-02-09 | 1 | -0/+38 |
| | |||||
* | new name mangling scheme implemented | Andreas Rumpf | 2017-02-02 | 1 | -1/+1 |
| | |||||
* | Create temp var in deepcopy if needed (#5205) | Brandon Pickering | 2017-01-15 | 1 | -0/+16 |
| | |||||
* | Reset exprs before return by arg. Fixes #5098 (#5191) | Brandon Pickering | 2017-01-11 | 1 | -0/+26 |
| | |||||
* | fixes #5147 | Araq | 2016-12-30 | 1 | -0/+10 |
| | |||||
* | fixes #5137 | Andreas Rumpf | 2016-12-22 | 1 | -0/+9 |
| | |||||
* | fixes serious codegen regression that caused Nimble to misbehave | Araq | 2016-12-10 | 1 | -0/+47 |
| | |||||
* | fixes #5055 | Araq | 2016-11-30 | 1 | -0/+14 |
| | |||||
* | fixes #5079 | Araq | 2016-11-30 | 1 | -0/+25 |
| | |||||
* | fixes #4626 | Andreas Rumpf | 2016-09-13 | 1 | -0/+7 |
| | |||||
* | fixes #4721 | Andreas Rumpf | 2016-09-07 | 1 | -0/+11 |
| |