summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* added missing nimfix filesAraq2014-10-114-0/+368
|
* backported .deprecated statementAraq2014-10-116-134/+169
|
* fixes #1551Araq2014-10-111-0/+5
|
* added 'nim*Setjmp' conditional symbolsAraq2014-10-051-0/+2
|
* Merge pull request #1545 from rbehrends/setjmp-perfAndreas Rumpf2014-10-023-2/+13
|\ | | | | Improve setjmp()/longjmp() performance.
| * Use _setjmp()/_longjmp() only on BSD-like systems for now.Reimer Behrends2014-09-271-1/+3
| |
| * Improve setjmp()/longjmp() performance.Reimer Behrends2014-09-253-2/+11
| | | | | | | | | | | | | | | | | | | | | | Exception handling for the C backend used setjmp()/longjmp() unconditionally. However, on POSIX systems, these functions save and restore the signal mask, adding considerable overhead to exception handling, even where no exceptions are involved. The compiler and library now try to use either _setjmp()/_longjmp() or sigsetjmp()/siglongjmp() where possible, marked by the defines "nimRawSetjmp" and "nimSigSetjmp", respectively. The define "nimStdSetjmp" can be used to revert to setjmp()/longjmp() instead.
* | Fixes #1529Clay Sweetser2014-10-011-2/+9
| |
* | Updated Version NumberVarriount2014-09-281-1/+1
| |
* | Disable git hashing in the version commandVarriount2014-09-281-2/+2
|/
* Avoid unnecessary #include triggered by importc vars.Reimer Behrends2014-09-191-0/+4
| | | | | | | | | | | | | | | | | When a C variable or macro is imported via an {.importc.} var or let statement, but no definition is needed and the variable does not have an initializer part, then there is also no need to generate an #include for the associated header until and unless the variable is actually used. The header is already generated upon use, but unnecessarily also when the variable is defined. This is an issue with the posix module in particular, where a lot of unnecessary header files are being included because relevant constants are defined via importc vars, and those header files may not even be available on a given system. This patch omits the generation of the #include directive for those definitions where they aren't needed.
* fixes #665Araq2014-09-112-1/+2
|
* fixes #1067Araq2014-09-111-0/+10
|
* mostly fixes #1339Araq2014-09-112-3/+9
|
* fixes #1366Araq2014-09-111-1/+1
|
* fixes #903, fixess #1513Araq2014-09-111-6/+14
|
* fixes #1511Araq2014-09-111-13/+16
|
* minor bugfix for void .compileTime procsAraq2014-09-111-1/+1
|
* fixes #1444Araq2014-09-111-5/+11
|
* Properly handle staticExec() generating large output.Reimer Behrends2014-09-101-1/+1
| | | | | | A staticExec() invocation that generated more than the internal buffer size worth of output blocked because the compiler waited for the process to terminate before reading the output.
* Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-08-211-1/+1
|\
| * added bug number to commentSimon Hafner2014-08-201-1/+1
| |
* | fixes recently introduced regressionAraq2014-08-211-14/+43
|/
* fixes #1418Araq2014-08-201-29/+44
|
* documented the JS codegenAraq2014-08-201-0/+19
|
* fixes #1334Araq2014-08-192-12/+32
|
* fixes #1380Araq2014-08-191-9/+8
|
* fixes #1420Araq2014-08-191-1/+1
|
* fixes #1143Araq2014-08-193-14/+21
|
* Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-08-172-7/+10
|\
| * Fixes #710.Dominik Picheta2014-08-161-0/+2
| |
| * Merge pull request #1485 from def-/js-substrAndreas Rumpf2014-08-151-1/+1
| |\ | | | | | | Fix CopyStr (substr in system.nim) for javascript target
| | * Fix CopyStr (substr in system.nim) for javascript targetdef2014-08-151-1/+1
| | |
| * | Merge pull request #1484 from def-/js-swapAndreas Rumpf2014-08-151-2/+2
| |\ \ | | | | | | | | Fix swap in jsgen
| | * | Fix swap in jsgendef2014-08-151-2/+2
| | |/
| * / Fix array address on nkHiddenAddrdef2014-08-151-4/+5
| |/
* / fixes #1492Araq2014-08-171-1/+1
|/
* fixes #1343Araq2014-08-151-4/+3
|
* Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-08-141-7/+15
|\
| * Merge pull request #1481 from rbehrends/fix-stackscan2Andreas Rumpf2014-08-141-7/+15
| |\ | | | | | | Fix stack bottom initialization for non-main modules.
| | * Fix stack bottom initialization for non-main modules.Reimer Behrends2014-08-141-7/+15
| | | | | | | | | | | | | | | | | | | | | Because PreMain() was now called before the new stack bottom initialization, it still relied on the old version of initStackBottom(), which may not handle the top few words of the stack correctly. This patch also sets the stack bottom in PreMain() using the new approach.
* | | fixes #669Araq2014-08-141-1/+2
|/ /
* | fixes #1433Araq2014-08-141-0/+2
| |
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-08-141-1/+1
|\|
| * Fixed stack bottom initialization for DLLs.Reimer Behrends2014-08-141-1/+1
| |
* | fixes newly introduced bugsAraq2014-08-141-5/+4
| |
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-08-141-8/+17
|\|
| * Merge pull request #1400 from rbehrends/fix-stackscanAndreas Rumpf2014-08-131-8/+17
| |\ | | | | | | More robust implementation for finding the beginning of the stack.
| | * More robust implementation for finding the beginning of the stack.Reimer Behrends2014-07-231-8/+17
| | | | | | | | | | | | | | | | | | This patch inserts an extra stack frame above the function that calls the actual Nimrod code and ensures that a reference to this frame is stored as the stack bottom.
* | | fixes #1434Araq2014-08-145-13/+23
|/ /