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
Araq
ce9fa80b92
fixes #2979
2015-06-25 02:08:58 +02:00
Araq
8d39669233
fixes #2909
2015-06-15 00:56:20 +02:00
rku
87b6220897
Removed magics: mAbsI64
2015-06-10 10:25:36 +03:00
rku
3984fecae6
Removed magics: mBitnotI64
2015-06-10 10:25:36 +03:00
rku
47114342c4
Removed magics: mEqI64 mLtI64 mLeI64
2015-06-10 10:25:36 +03:00
rku
658dcd2a58
Removed magics: mShrI64, mShlI64, mBitandI64, mBitorI64, mBitxorI64
...
Author: rku <rokups@zoho.com>
2015-06-10 10:25:36 +03:00
rku
372a5d3cbb
Removed magics: mAddI64, mSubI64, mMulI64, mDivI64, mModI64
...
Author: rku <rokups@zoho.com>
2015-06-10 10:25:35 +03:00
Araq
54750f608d
fixes #2774
2015-06-06 13:25:20 +02:00
Araq
6cb3635ca0
fixes 'echo nil' codegen bug
2015-05-03 01:08:51 +02:00
Araq
4be0d16520
added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler
2015-04-22 12:04:11 +02:00
Araq
aacaa8f171
cleaned up some magics to make room for new magics; added '..<' and '..^' templates
2015-04-22 12:04:09 +02:00
Araq
daefc2567b
fixes serious codegen regression; C++ target works again
2015-04-20 21:24:49 +02:00
Araq
89cbf092b2
fixes a serious codegen bug that caused to emit wrong barriers in rare cases
2015-04-19 13:36:22 +02:00
Araq
28ecf72f79
fixes #2498
2015-04-11 10:01:13 +02:00
Araq
2176ea759f
fixes #2489
2015-04-08 15:13:58 +02:00
def
39049e151f
Get rid of deprecation warnings
2015-04-07 15:47:18 +02:00
Araq
5bb3534f10
fixes #2427
2015-04-06 23:50:09 +02:00
Jacek Sieka
c40249cd43
compiler_ropes: ropeToStr -> $
2015-04-01 22:32:15 +08:00
Araq
edc4940c26
doc updates; fixes 'inc' for 'char'
2015-03-29 13:16:22 +02:00
Araq
ed0d9e271d
disallow negative indexing
2015-03-27 01:30:06 +01:00
Simon Hafner
36b6bfaf78
cannot gen symbol -> must be compile time
2015-03-26 05:04:12 +05:00
Araq
94f2d639b1
fixes #2401
2015-03-25 13:05:32 +01:00
Araq
5641be51c1
codegen doesn't produce line tracing commands anymore; fixes #1344
2015-03-21 20:38:27 +01:00
Araq
16adfcdfa6
fixes #2366
2015-03-21 20:38:25 +01:00
Hans Raaf
b902ea887b
Replaced deprecated repeatStr() with repeat().
2015-03-04 03:44:09 +01:00
Araq
b870744d5d
makes Aporia build for 64bit archs
2015-03-03 13:53:31 +01:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
b40bfc0ce3
fixes #2118
2015-02-13 10:09:57 +01:00
Araq
ecd0dea091
tables work in 'const' sections; echo supports 'nil' strings; minor cleanups
2015-02-09 00:08:55 +01:00
Araq
74c6c8c903
compiler distinguishes between 2 different 'var' types for C++ interop; code cleanups
2015-02-07 10:48:07 +01:00
Araq
e84834db79
lots of C++ codegen improvements
2015-02-07 10:48:07 +01:00
Araq
a0d3bd16e7
fixes stupid regression
2015-02-04 00:52:46 +01:00
Araq
e75e421912
C++ support: codegen generates C++'s references and avoids copies
2015-02-04 00:52:45 +01:00
Araq
43e5e3ac22
fixes #2022
2015-01-31 13:46:21 +01:00
Araq
ee4e95fefe
fixes #2039
2015-01-31 11:31:59 +01:00
Dominik Picheta
3ac2e00334
Fixes #1642 .
2015-01-28 23:10:25 +00:00
Araq
6004280522
preparations for C++ template support
2015-01-23 00:36:58 +01:00
Araq
71d3cccb07
fixes #1833
2015-01-18 20:49:56 +01:00
Araq
b9079b8713
fixes #1915
2015-01-12 02:00:37 +01:00