summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkdkf_asm_crash_20131022dgp2013-12-3025-357/+532
|\
| * Added new tools for managing and verifying the stack depth during ↵mig2013-12-233-11/+48
| | | | | | | | compilation. Used it in some spots in the compiler and in TclCompileCatchCommand.
| * remove unnecessary messing around INST_CONTINUE and INST_BREAK: local ↵mig2013-12-221-10/+4
| | | | | | | | continue/break are already converted to jumps, so that these are either caught or returned - in either case, the stacks are cleaned up properly by TEBC itself.
| * remove duplicate statement in previous commitmig2013-12-221-1/+0
| |
| * fix stack counting bug in new catch compiler, commit 62a51cdb45.mig2013-12-221-2/+8
| |
| * remove INST_TRY_CVT_TO_NUMERIC when it is known not be necessary (cherrypick ↵mig2013-12-204-0/+16
| | | | | | | | from mig-optimize)
| * 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.
* | | merge trunkdgp2013-10-232-1/+6
|\ \ \ | |/ /
| * | 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 for assemble.test; problem was a total assumption failure caused by way ↵dkf2013-10-221-31/+3
|/ / | | | | | | that the assembler works.