summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Add TclRegisterLiteral() to internal stub table (from "mig-optimize" branch, ↵jan.nijtmans2013-12-195-3/+15
| | | | looks like a good idea anyway)
* merge trunkbug_0b874c344ddgp2013-12-187-261/+355
|\
| * Making the optimizer pluggable by extensions; please review for committing ↵mig_tmp_optimizemig2013-12-185-4/+16
| | | | | | | | to trunk
| * commentsmig2013-12-111-7/+4
| |
| * commentsmig2013-12-111-5/+2
| |
| * commentsmig2013-12-111-1/+7
| |
| * new test, and fix for bugmig2013-12-111-6/+9
| |
| * simplify: remove the special casemig2013-12-111-21/+4
| |
| * store options early: simplify compiler, reduce stack manipulationsmig2013-12-111-26/+6
| |
| * simplifying: drop early the evaled scriptmig2013-12-111-29/+8
| |
| * fix stack computations for lmapmig2013-12-101-1/+1
| |
| * new INST_LMAP_COLLECT, speeds up lmap and eliminates the need for a temp varmig2013-12-104-29/+36
| |
| * change NULL to INT2PTR(0), for claritymig_opt_foreachmig2013-12-061-1/+1
| |
| * Oops, wrong macro.jan.nijtmans2013-12-061-2/+2
| |
| * Introducing a new union member in Tcl_Obj is not a good idea in a patch ↵jan.nijtmans2013-12-062-9/+5
| | | | | | | | | | | | release, especially using "long". Better allow iterNum and iterMax to grow to ssize_t (or size_t) in Tcl 9 (or 8.x, why not?). Usage of "long" in public API causes interoperability problems between Cygwin64 and Win64 (probably no-one cares except me).
| * Stop printing undefined values in disassembled code.dkf2013-12-063-10/+50
| |
| * adapted the array-set compiler to use the new foreach opcodesmig2013-12-062-53/+31
| |
| * tighter mem management in array-set compilermig2013-12-061-2/+2
| |
| * tighter mem managementmig2013-12-061-4/+2
| |
| * add comments on INST_FOREACH_*mig2013-12-051-0/+2
| |
| * add comments on field "misuse"mig2013-12-052-1/+2
| |
| * New compiler and bytecodes for foreach and lmap: 70% faster mig2013-12-055-105/+220
| | | | | | | | | | | | | | | | | | * speed as measured by http://wiki.tcl.tk/39021: runs in <1/3 the time * still need to adapt array-set to use this * assemble.test-16.5 or 16.6 bombs in a purify/symbols build (?) * removing the old opcodes would force recompilation of old .tbc files or adaptation of tbcload
* | Big simplification of the bug fix.dgp2013-12-181-66/+34
| |
* | Factor out the level offsetting into a final pass. Let the firstdgp2013-12-171-16/+27
| | | | | | pass of the "chain" operation just stitch things together and count levels.
* | Refactoring work on the "chain" operation.dgp2013-12-161-53/+48
| |
* | Simplify the coding of the unchain operation.dgp2013-12-131-31/+9
| |
* | Draft fix for Bug 0b874c344d. Includes test.dgp2013-12-051-4/+56
|/
* revert accidental part of previous commitjan.nijtmans2013-11-222-8/+0
|
* Cygwin: Fix conflicting definition with _mingw_stat64.h, if included ↵jan.nijtmans2013-11-223-1/+9
|\ | | | | | | together with <tcl.h>
| * Cygwin: Fix conflicting definition with _mingw_stat64.h, if included ↵jan.nijtmans2013-11-221-1/+1
| | | | | | | | together with <tcl.h>
* | ... and don't break env-5.3 and env-5.5 test-cases.jan.nijtmans2013-11-201-0/+1
| |
* | Bug Fix: EnvTraceProc() MUST always return NULL to indicate success.jan.nijtmans2013-11-201-1/+1
| |
* | Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by ↵max2013-11-182-4/+5
| | | | | | | | other means than covering behind void pointers.
* | Eliminate some redundant Tcl_GetErrno() calls.jan.nijtmans2013-11-181-2/+3
| |
* | Fix [e832d2b08]: unnecessary code in Tcl_SetMaxBlockTime.jan.nijtmans2013-11-161-5/+1
|\ \ | |/
| * Fix [e832d2b08]: unnecessary code in Tcl_SetMaxBlockTime.jan.nijtmans2013-11-161-5/+1
| |
* | Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-047-21/+35
|\ \ | |/ | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h and tclOODecls.h it was no problem, because tcl.h and tclOO.h already contain those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
| * Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-045-15/+25
| | | | | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h it was no problem, because tcl.h already contains those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
* | [53a917d6c9]: Correction to macro for determining how to deprecate things.dkf2013-10-271-1/+1
| | | | | | Thanks to Raphael Kubo da Costa <rakuco@FreeBSD.org> for the patch.
* | silence compiler warningdgp2013-10-231-1/+0
| |
* | [3556215]: Made [scan] match [format] better in what it accepts as a formatdkf2013-10-221-0/+6
|\ \ | |/ | | string, by allowing uppercase %X, %E and %G.
| * [3556215]: Made [scan] match [format] better in what it accepts as a formatdkf2013-10-221-0/+6
| | | | | | string, by allowing uppercase %X, %E and %G.
* | Fix problems in for.testdkf2013-10-221-74/+62
| |
* | silence compiler warningsdgp2013-10-211-1/+1
| |
* | [2835313] Ensure correct stack balance when break and continue exceptions ↵dkf2013-10-209-37/+322
|\ \ | | | | | | | | | are about: the hard cases with potential concealed exception generation.
| * | And the last bits that need fixing; the code is still less efficient than ↵dkf_loop_exception_range_workdkf2013-10-204-12/+45
| | | | | | | | | | | | desired but should now not crash.
| * | Fix handling of 'invokeExpanded' and start to do 'returnStk'.dkf2013-10-192-9/+22
| | |
| * | Added missing exception range finalize.dkf2013-10-191-0/+1
| | |
| * | Improve coverage of [error] compilation.dkf2013-10-191-7/+36
| | |
| * | Tackle evalStk by reusing existing machinery.dkf2013-10-182-2/+6
| | |