Commit graph Nim/compiler
Author SHA1 Message Date
Parashurama
03b11b66cf fixes mitems iterator on vm. (issue with tuple value)
this discard any implicit conversion on iterator return value.
the previous behaviour was to return a reference to a converted copy and
thus not modifying the original value.
2017-08-19 08:58:57 +02:00
Zahary Karadjov
7ad115f530 Restore the old behavior of parsing "quote do:"
close #5845
2017-08-19 08:57:43 +02:00
Zahary Karadjov
c3e5c6c326 treat var modifiers inside the concept body correctly: #1033 2017-08-19 08:57:43 +02:00
Zahary Karadjov
4483cefa0c fix #5918 2017-08-19 08:57:43 +02:00
Daniil Yarancev
5c7ae14074 Fixes #5965 (#6237) 2017-08-14 17:43:39 +02:00
Araq
6b3af6a5d7 WIP: --gc:regions instead of --gc:stack 2017-08-13 02:51:00 +02:00
Andreas Rumpf
88b65ea957 fixes #6234 2017-08-11 20:14:44 +02:00
Andreas Rumpf
dfe067a74a reorder pass: consider the 'using' statement; disabled debug output 2017-08-11 20:14:44 +02:00
Arne Döring
4c31bc1cd1 type kind is now part of the generated name for types (#6203) 2017-08-10 14:36:21 +02:00
Parashurama
4fdf7f2ea3 fix VM intsize for 32bits and smaller targetOS. (#6211)
This commit change the default behaviour of VM int/uint always being
64bits and make int/uint on VM behave identically to compiled code.

This insert 'opcNarrowU' or 'opcNarrow' opcode on Int/Uint operations
when needed to simulate smaller Int/Uint on VM.
2017-08-10 14:34:57 +02:00
Fredrik Høisæther Rasch
c39e202976 Introduce first class support for Android (#5772) 2017-08-06 02:18:15 +02:00
Araq
153441db1d codegen: do not produce empty loops; speeds up debug builds tremendously on Windows 2017-08-04 21:27:14 +02:00
Dominik Picheta
d60da4f8f0 Merge pull request #6165 from endragor/no-source-without-git
Do not generate Source/Edit without git in config
2017-08-03 22:56:22 +01:00
James Cowgill
fed1b0a077 Add mips64 and mips64el CPU platforms (#5866) 2017-08-03 18:37:02 +02:00
andri lim
57edf619fe fixes #6016 union alias trigger bad codegen (#6117)
* fixes #6016 union alias trigger bad codegen
* cpp test ok
* merging some test into one file
2017-08-03 11:03:47 +02:00
Parashurama
f063943d5f Vm fix zero extend proc ze/ze64 && toU32/toU16/toU8 (#5988)
* fixes ze/ze64 procs in VM.
* fixes toU8/toU16/toU32.
* add tests for ze/ze64 toU32/toU16/toU8 procs
2017-08-03 10:58:45 +02:00
Yuriy Glukhov
0755f902dd Corrected tuple type to nkPar for unnamed tuples on getType (#6172) 2017-08-03 10:37:47 +02:00
Ruslan Mustakov
606aab9cdf Do not generate Source/Edit without git in config 2017-07-31 20:54:57 +07:00
Andreas Rumpf
50f62ff44a distinguish between 'reorder' and 'noforward' 2017-07-26 08:20:11 +02:00
Andreas Rumpf
ce341982a6 implemented reordering pass 2017-07-25 10:01:37 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Andreas Rumpf
4e3bdcc84b fixes #6127 2017-07-22 17:07:59 +02:00
Andreas Rumpf
3862651d44 fixes #499 2017-07-22 16:52:58 +02:00
Andreas Rumpf
ad608838bf closures have an object type field so that we can perform correct deepCopy() for the BoehmGC target 2017-07-22 11:10:52 +02:00
Araq
f127a7f7aa fixes #6096 2017-07-17 16:43:10 +02:00
Araq
81ce73db94 fixes #5892 2017-07-17 16:43:10 +02:00
Araq
733272d55d cleaned up extccomp.nim 2017-07-17 11:42:26 +02:00
Araq
ad2ef0f70a fixes #6118 2017-07-17 11:42:26 +02:00
Araq
91eba77b96 fixes #4763 2017-07-17 09:28:03 +02:00
Araq
9cbb4c3f85 fixes #5989 2017-07-17 08:24:34 +02:00
Arne Döring
52f092d02b Lineinfo change (#6084) 2017-07-17 08:12:15 +02:00
Andreas Rumpf
2ad9a16e0a fixes anon procs created by macros 2017-07-11 18:07:34 +02:00
Andreas Rumpf
76cf4f4c1b parser enhancement: allow keywords after dots 2017-07-11 00:54:47 +02:00
Andreas Rumpf
5932ad9ae8 fixes a JS codegen regression 2017-07-10 16:40:23 +02:00
Andreas Rumpf
c1d061bb5a fixes #4898 2017-07-09 13:29:44 +02:00
Andreas Rumpf
674db58a24 fixes #5608 2017-07-09 12:03:50 +02:00
Andreas Rumpf
b6307dded3 fixes #6037 2017-07-09 00:45:14 +02:00
Andreas Rumpf
440d100595 fixes #6067 2017-07-08 23:32:40 +02:00
Andreas Rumpf
e641bc7df0 minor code cleanup 2017-07-08 21:27:56 +02:00
Mathijs Saey
f8266c7376 Fixes #6008 (#6068) 2017-07-08 07:31:53 +02:00
Andreas Rumpf
ee43fc82d5 bugfix: keep the information of a raw float literal in the AST 2017-07-06 13:52:21 +02:00
Andreas Rumpf
82175b43bb do not crash for #5895 2017-07-06 13:52:21 +02:00
ephja
9e12db4459 fixes #6030 (#6042) 2017-07-01 09:56:20 +02:00
Araq
4de989d1c5 fixes #6035 2017-06-30 12:01:51 +02:00
Andreas Rumpf
d9d61fbeb4 fixes #5517 2017-06-30 00:43:19 +02:00
Andreas Rumpf
ac63a99892 fixes #5974 2017-06-29 20:25:42 +02:00
Andreas Rumpf
6f29041f09 fixes #5563 2017-06-29 18:48:24 +02:00
Andreas Rumpf
5d6c2f89de fixes #4703 2017-06-29 18:37:53 +02:00
Andreas Rumpf
d66a920447 fixes #5846 2017-06-29 18:16:00 +02:00
Yuriy Glukhov
baf685461b Fixes #5946 (#6017) 2017-06-26 21:31:56 +02:00