Commit Graph

252 Commits

Author SHA1 Message Date
Andreas Rumpf
259daf98cf fixes thread vars of non-global visibility 2016-09-12 23:04:19 +02:00
Andreas Rumpf
dfa0699e73 C++ backend: use .noInit pragma for non-public default constructors; refs #4687 2016-09-04 22:36:29 +02:00
Andreas Rumpf
3a13706d7d fixes #4673 2016-09-01 13:02:53 +02:00
Andreas Rumpf
10f445da89 Merge pull request #4592 from arnetheduck/compiler-cleanup
Compiler cleanup
2016-08-25 16:50:54 +02:00
Andreas Rumpf
18e37cad08 fixes #4653 2016-08-24 11:48:21 +02:00
Jacek Sieka
618e264b58 remove TLoc.heapRoot 2016-08-17 18:58:35 +08:00
Jacek Sieka
4d558e2608 Merge remote-tracking branch 'origin/devel' into compiler-cleanup 2016-08-17 18:49:36 +08:00
Andreas Rumpf
5d05ee21c2 makes tests green again 2016-08-09 17:49:59 +02:00
Jacek Sieka
3cd4cf4320 remove unused stuff 2016-08-09 22:54:27 +08:00
Jacek Sieka
981a8950c6 remove keepAlive and friends 2016-08-09 22:17:05 +08:00
Andreas Rumpf
440ed8eb68 fixes #4551 2016-08-09 14:16:26 +02:00
Andreas Rumpf
ce4d9e40fe fixes #4582 2016-08-08 11:32:19 +02:00
Andreas Rumpf
baeec11808 fixes #4354 2016-08-04 23:34:58 +02:00
Jacek Sieka
7d62f031f6 remove sfFakeConst 2016-07-30 16:19:53 +08:00
Andreas Rumpf
d455d58af6 fixes #4345 2016-07-19 15:40:21 +02:00
Andreas Rumpf
b7c1be03c8 added system.newSeqOfCap for improved efficiency 2016-07-15 17:04:14 +02:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
Andreas Rumpf
b47d9b7b91 fixes #4371 2016-07-08 10:34:12 +02:00
Andreas Rumpf
4b0ba5e3f1 C code generation now deterministic; fixes #4364 2016-06-22 02:50:50 +02:00
Andreas Rumpf
87ffff96d2 fixes #4186 2016-06-02 17:23:39 +02:00
Andreas Rumpf
e8d507c859 system. for cstrings uses value comparisons, not reference comparisons 2016-06-02 16:38:20 +02:00
Andreas Rumpf
3ac6bd8ae1 refactoring: flags instead of bools 2016-05-18 12:40:01 +02:00
Andreas Rumpf
5bdde429e7 fixes #4147 2016-05-12 00:43:57 +02:00
Andreas Rumpf
5757ad858c fixes #3995 2016-04-03 18:12:25 +02:00
Andreas Rumpf
f6e92dcf75 fixes #4005 2016-03-29 13:14:26 +02:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
Andreas Rumpf
3e33084da7 fixes a critical codegenbug 2016-01-30 18:43:53 +01:00
Araq
38da21fc62 fixes #3730 2016-01-18 13:48:58 +01:00
Andreas Rumpf
34a783a61c fixes #3723 2016-01-15 14:56:01 +01:00
Andreas Rumpf
02a0782389 fixes yet another codegen problem with constant closures 2016-01-15 01:50:52 +01:00
Andreas Rumpf
15c63b8011 fixes a long standing codegen bug concerning closures 2016-01-13 16:06:31 +01:00
Andreas Rumpf
bb8b1c3b57 fixes #2604, fixes #1527 2016-01-05 14:59:43 +01:00
Andreas Rumpf
1ad69be988 next steps to produce working closure iterators 2016-01-03 15:23:07 +01:00
Andreas Rumpf
307a6095fa made closure iterators tests green, updated docs 2015-12-31 00:16:38 +01:00
Andreas Rumpf
c1627354d1 first implementation of the new lambda-lifting pass; barely anything works 2015-12-26 00:42:30 +01:00
Hans Raaf
5a028b3956 Fix regression in set.excl code generation. 2015-12-21 00:35:20 +01:00
Andreas Rumpf
6818304e01 Merge pull request #3530 from rbehrends/fix-setop-shifts
Avoid signed shifts and bit operations for sets.
2015-12-03 19:52:00 +01:00
Erik Johansson Andersson
61086b8e59 flush after printing 2015-11-28 21:21:42 +01:00
Anatoly Galiulin
98723925d8 Fixed SIGSEGV on wrong slurp usage 2015-11-23 13:18:05 +05:00
Reimer Behrends
67e62302b4 Avoid signed shifts and bit operations for sets.
Set operations used "1<<n" style shifts, which led to undefined
behavior if the signed shift overflowed. Similarly, the right-hand
side of the operator sometimes used a mix of signed and unsigned
integers that were combined with "&". This patch attempts to provide
a consistent implementation that uses unsigned integers everywhere.
2015-11-11 14:19:09 +01:00
Araq
1dda0e4b84 fixes a critical xlen codegen bug 2015-11-03 14:52:34 +01:00
Araq
a40ace648d fixes regression: tobjconstr2 test works again 2015-10-14 00:41:27 +02:00
Araq
8507f95d68 fixes #2637 2015-10-06 15:51:00 +02:00
Araq
612cd25d5d usage of NimNode triggers .compileTime context; fixes #1679 2015-09-14 12:41:49 +02:00
Araq
ffe51966b9 fixes a critical codegen bug triggered by .async 2015-09-10 10:50:29 +02:00
Yuriy Glukhov
49869a2b10 when nimvm stmt proof of concept 2015-09-04 20:50:29 +03:00
Araq
4932415742 fixes #1832 2015-07-24 01:04:45 +02:00
Araq
5409142120 fix recently introduced regressions 2015-07-22 18:49:18 +02:00
Araq
862ee8d1d3 fixes #2963 2015-07-22 01:21:42 +02:00
Araq
4cfe216a77 fixes #2880 2015-06-30 12:20:03 +02:00