summary refs log tree commit diff stats
path: root/tests/cpp
Commit message (Collapse)AuthorAgeFilesLines
* fixes #11118Andrii Riabushenko2019-04-301-0/+24
|
* fixes #10765 (#10993) [backport]cooldome2019-04-111-0/+9
|
* fixes #10948 (#10949)cooldome2019-04-031-0/+39
|
* fixes #8202 (#10888)Andreas Rumpf2019-03-231-0/+18
| | | | | | * fixes #8202 * make tests green
* Properly wrap discarded statements (#10322)LemonBoy2019-01-171-0/+19
| | | | | | Failing to do so lead the codegen to emit invalid code sometimes, especially when C++ references were involved. Fixes #10241
* fixes #10148 (#10149)cooldome2018-12-311-0/+29
| | | | | * fixes #10148 * fix a typo
* join simple testArne Döring2018-11-231-1/+10
|
* activated more tests, allow input in test specArne Döring2018-11-231-0/+1
|
* updated tests to be executedArne Döring2018-11-231-0/+1
|
* Fixes discard bug in cpp codegen (#9747) [backport]cooldome2018-11-191-1/+11
| | | Fixes discard bug in cpp codegen
* fixes #5549Araq2018-10-301-0/+10
|
* Closes #6986narimiran2018-10-281-0/+16
|
* fixes #9222 (#9224)cooldome2018-10-092-0/+26
|
* Fix linking issue in cpp codegenLemonBoy2018-09-191-0/+9
| | | | | | | Declare the root symbol only once and have the other modules depending on it emit an `extern` declaration. Fixes #9013
* disable Nimble dependencies for appveyorAraq2018-09-141-1/+1
|
* make tests green againAraq2018-08-131-0/+1
|
* Generate dynlib strings as a single rope (#8247)LemonBoy2018-07-081-0/+7
| | | | | | In order not to trip the optimization in genInfixCall we have to do so. The same trick is also used in setExternName. Fixes #8241
* fix #7653Zahary Karadjov2018-06-101-0/+16
|
* make tests green againAndreas Rumpf2018-04-221-11/+5
|
* Static[T] fixes (#7333)zah2018-03-242-2/+2
| | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests
* Fixes #6837 (#7271)cooldome2018-03-021-1/+15
|
* genTryCpp codegen. Fixes #7232. Fixes #7239 (#7240)cooldome2018-02-221-1/+21
|
* Alternative fix for #4910 that covers #6892; fixes #6892 (#6938)cooldome2017-12-171-3/+11
|
* fixes another sighashes problemAraq2017-12-081-0/+1
|
* Fixes #5979 (#5980)Yuriy Glukhov2017-11-191-0/+10
|
* use targets from test spec when running testament tests (#6687)Jacek Sieka2017-11-1519-15/+24
|
* fixes #4910Araq2017-10-141-0/+8
|
* fixes #6016 union alias trigger bad codegen (#6117)andri lim2017-08-031-0/+17
| | | | | | * fixes #6016 union alias trigger bad codegen * cpp test ok * merging some test into one file
* attempt to fix a compilation problem caused by nimcacheZahary Karadjov2017-05-131-0/+424
|
* fixes #5142Araq2016-12-231-0/+8
|
* make travis greenAraq2016-12-221-1/+2
|
* fixes #5140Araq2016-12-221-0/+28
|
* added missing fileAndreas Rumpf2016-12-211-0/+4
|
* fixes #5136Andreas Rumpf2016-12-211-0/+10
|
* Merge branch 'devel' into sighashesAraq2016-12-171-0/+22
|\
| * reworked emit pragma; fixes #4730Andreas Rumpf2016-12-171-0/+22
| |
* | make tsigbreak.nim compileAndreas Rumpf2016-12-121-0/+28
|/
* attempt to make travis green againAraq2016-12-011-1/+1
|
* fixes #5081Araq2016-12-011-0/+3
|
* fixes #4625Andreas Rumpf2016-09-131-0/+22
|
* fixes #2259, fixes #1389Andreas Rumpf2016-06-021-0/+10
|
* Added test casemjendrusch2016-04-171-0/+9
| | | | Previously offending code
* Fix a few deprecation warningsdef2016-01-251-1/+1
|
* fixes #3299Araq2015-10-151-0/+11
|
* Rename rawsockets module to nativesocketsAdam Strzelecki2015-10-031-1/+1
| | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code.
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* fixes #2841Araq2015-07-221-0/+6
|
* fixes #1888Araq2015-04-271-0/+17
|
* added test for #2536Araq2015-04-241-0/+38
|
* fixes #2505, fixes #1853, fixes #2522Araq2015-04-202-1/+2
|
/span>17 </span> 89/copy 3/mod/direct 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ESP to EBP</span> <span id="L18" class="LineNr">18 </span> <span class="subxS1Comment"># . save registers</span> <span id="L19" class="LineNr">19 </span> 50/push-EAX <span id="L20" class="LineNr">20 </span> 51/push-ECX <span id="L21" class="LineNr">21 </span> 52/push-EDX <span id="L22" class="LineNr">22 </span> 53/push-EBX <span id="L23" class="LineNr">23 </span> <span class="subxComment"># syscall(write, fd, (data) s+4, (size) *s)</span> <span id="L24" class="LineNr">24 </span> <span class="subxS1Comment"># . fd : EBX</span> <span id="L25" class="LineNr">25 </span> 8b/copy 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 3/r32/EBX 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(EBP+8) to EBX</span> <span id="L26" class="LineNr">26 </span> <span class="subxS1Comment"># . data : ECX = s+4</span> <span id="L27" class="LineNr">27 </span> 8b/copy 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ECX 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(EBP+12) to ECX</span> <span id="L28" class="LineNr">28 </span> 81 0/subop/add 3/mod/direct 1/rm32/ECX <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to ECX</span> <span id="L29" class="LineNr">29 </span> <span class="subxS1Comment"># . size : EDX = *s</span> <span id="L30" class="LineNr">30 </span> 8b/copy 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 2/r32/EDX 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(EBP+12) to EDX</span> <span id="L31" class="LineNr">31 </span> 8b/copy 0/mod/indirect 2/rm32/EDX <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 2/r32/EDX <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *EDX to EDX</span> <span id="L32" class="LineNr">32 </span> <span class="subxS1Comment"># . syscall</span> <span id="L33" class="LineNr">33 </span> b8/copy-to-EAX 4/imm32/write <span id="L34" class="LineNr">34 </span> cd/syscall 0x80/imm8 <span id="L35" class="LineNr">35 </span><span class="Constant">$_write:end</span>: <span id="L36" class="LineNr">36 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L37" class="LineNr">37 </span> 5b/pop-to-EBX <span id="L38" class="LineNr">38 </span> 5a/pop-to-EDX <span id="L39" class="LineNr">39 </span> 59/pop-to-ECX <span id="L40" class="LineNr">40 </span> 58/pop-to-EAX <span id="L41" class="LineNr">41 </span> <span class="subxS1Comment"># . epilog</span> <span id="L42" class="LineNr">42 </span> 89/copy 3/mod/direct 4/rm32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy EBP to ESP</span> <span id="L43" class="LineNr">43 </span> 5d/pop-to-EBP <span id="L44" class="LineNr">44 </span> c3/return <span id="L45" class="LineNr">45 </span> <span id="L46" class="LineNr">46 </span><span class="subxS2Comment"># . . vim&#0058;nowrap:textwidth=0</span> </pre> </body> </html> <!-- vim: set foldmethod=manual : -->