Andreas Rumpf
1a61c4d46d
first implementation of the 'func' keyword
2017-09-23 23:22:53 +02:00
Andreas Rumpf
3936587c06
fixes #6403
2017-09-21 21:07:18 +02:00
Andreas Rumpf
405b9c8a85
refactoring: TLoc knows the node it originated from; it is planned to use this to produce better C code (move optimizations)
2017-09-21 14:38:45 +02:00
Andreas Rumpf
a04c7d8b38
introduce OnHeapNew and rename TLoc.s to TLoc.storage
2017-09-21 11:38:04 +02:00
Andreas Rumpf
2ef65d5cdf
C++ codgen: do not emit struct literals if not possible
2017-09-05 09:28:36 +02:00
Araq
21e22624a2
fixes #6294
2017-09-05 01:03:23 +02:00
Parashurama
0861249de7
Fix seq.setLen initialisation in VM ( #6224 )
2017-09-02 22:53:22 +02:00
Andreas Rumpf
920f4acadf
fixes #6279
2017-08-29 00:33:46 +02:00
Andreas Rumpf
88b65ea957
fixes #6234
2017-08-11 20:14:44 +02:00
Araq
81ce73db94
fixes #5892
2017-07-17 16:43:10 +02:00
Araq
ad2ef0f70a
fixes #6118
2017-07-17 11:42:26 +02:00
Andreas Rumpf
b6307dded3
fixes #6037
2017-07-09 00:45:14 +02:00
Zahary Karadjov
b199c5af4e
fix #5968
2017-06-20 11:29:42 +02:00
Parashurama
da52ade86e
fix right shift c codegen bug. ( #5919 )
...
* fix right shift c codegen bug.
signed int must first be cast as unsigned before converting to larger
integer. The C compiler will auto convert operands to the largest type.
2017-05-31 21:05:14 +02:00
Jacek Sieka
ba4cc4bf35
a few tiny cleanups ( #5712 )
...
exposes emitLazily (for nlvm) and simplifies some conditionals
2017-05-29 09:42:26 +02:00
Araq
8f67b90997
Merge branch 'araq2' into devel
2017-05-17 22:13:57 +02:00
Dominik Picheta
06415eb69d
Fixes #5821 (float32 literal comparison issue) ( #5825 )
...
* Remove processing hints for async procs.
* Fixes #5821 .
2017-05-17 15:57:06 +02:00
Zahary Karadjov
2a34552596
fix 5756
2017-04-30 22:28:20 +03:00
Zahary Karadjov
e11b3520ff
fix #5654
2017-04-07 19:35:05 +03:00
Zahary Karadjov
fb3ff64450
fix #5642
2017-04-07 19:28:52 +03:00
Emery Hemingway
7e351fc7fa
support for the Genode OS framework ( #5560 )
2017-03-31 23:13:06 +02:00
Zahary Karadjov
0b0a3e5f20
support derived values in non-generic user type classes
2017-03-24 16:58:15 +02:00
Araq
46b672a6c4
minor codegen bugfix: don't use names for closures that are also mangled Nim names
2017-02-26 17:41:00 +01:00
Araq
4c5ecb46b0
fixes a minor codegen issue where name mangling could produce an identifier used by the codegen; refs #5437
2017-02-26 17:41:00 +01:00
Arne Döring
92c2a51bf7
removed compiler internal list implementation ( #5371 )
2017-02-22 17:33:12 +01:00
Araq
6499462303
fixes #5402
2017-02-16 11:15:43 +01:00
Andreas Rumpf
5ff6ff28bf
fixes #5339
2017-02-09 01:16:43 +01:00
Andreas Rumpf
072d79511f
fixes #5314
2017-02-05 17:14:49 +01:00
Andreas Rumpf
b15e8124fe
fixes #5090
2017-02-05 15:21:40 +01:00
Andreas Rumpf
fab69661ad
new name mangling rules for easier debugging
2017-02-02 16:27:48 +01:00
Brandon Pickering
9f95dd8e1d
Create temp var in deepcopy if needed ( #5205 )
2017-01-15 06:26:59 +01:00
Andreas Rumpf
6ee487b0eb
bugfix: abs(0.0) should be +0.0
2017-01-10 18:29:26 +01:00
Araq
862a32fe85
make tmissing_ccgtrav_unique_type green again
2016-12-04 22:10:58 +01:00
Araq
2eee15d7f3
Merge branch 'devel' into sighashes
2016-12-01 10:06:41 +01:00
Araq
2adb2be86a
fixes tconsttable regression
2016-12-01 09:01:00 +01:00
Araq
2a7b4fda78
fixes #5081
2016-12-01 08:46:44 +01:00
Araq
8494338bcb
fixes #5055
2016-11-30 22:25:56 +01:00
Araq
20cf28adde
fixes the regressions introduced by fix for #5076
2016-11-30 19:03:04 +01:00
Araq
49667798eb
further progress; more tests are green
2016-11-28 21:45:29 +01:00
Araq
27723af469
Merge branch 'devel' into sighashes
2016-11-28 20:59:30 +01:00
Andreas Rumpf
e7cdb1d694
attempt to fix things
2016-11-23 14:24:45 +01:00
Andreas Rumpf
02a2180a6a
first version of the new memory tracking feature
2016-11-21 12:10:44 +01:00
Araq
e6c5622aa7
removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes
2016-11-14 23:18:30 +01:00
Araq
860cbd3107
signature hashing: more progress
2016-11-11 08:58:42 +01:00
Araq
3b43cff0f8
C codegen: first version of signature hashing for better incremental builds
2016-11-08 08:37:11 +01:00
Araq
24c47dd6e7
fixes #4975
2016-11-07 12:07:52 +01:00
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