Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more fixes to instruction tracing; ensure all places that need ↵ | dkf | 2014-01-02 | 1 | -90/+123 |
| | | | | DECACHE_STACK_INFO have it. jan.nijtmans: Branch moved aside an hidden, so future bisects are not affected by this branch mistakes. | ||||
* | factor out a common peephole stanza | dkf | 2014-01-01 | 1 | -137/+79 |
| | |||||
* | another jump peephole, this time with string comparisons | dkf | 2013-12-31 | 1 | -0/+14 |
| | |||||
* | more peephole optimizations in TEBC, and better instruction execution traces | dkf | 2013-12-31 | 1 | -148/+212 |
| | |||||
* | clarify the resume sequence in TEBCresume; make checkInterp a local ↵ | mig | 2013-12-31 | 1 | -28/+14 |
| | | | | variable, remove it from the saved struct | ||||
* | remove ill-advised change to assembler | dkf | 2013-12-31 | 1 | -31/+3 |
|\ | | | | | What made sense for the compiler does not for the assembler, as that can (and does) build code blocks entirely out of order. | ||||
| * | merge trunkdkf_asm_crash_20131022 | dgp | 2013-12-30 | 291 | -847/+1111 |
| |\ | |/ |/| | |||||
* | | Added new tools for managing and verifying the stack depth during ↵ | mig | 2013-12-23 | 3 | -11/+48 |
| | | | | | | | | compilation. Used it in some spots in the compiler and in TclCompileCatchCommand. | ||||
* | | remove unnecessary messing around INST_CONTINUE and INST_BREAK: local ↵ | mig | 2013-12-22 | 1 | -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 commit | mig | 2013-12-22 | 1 | -1/+0 |
| | | |||||
* | | fix stack counting bug in new catch compiler, commit 62a51cdb45. | mig | 2013-12-22 | 1 | -2/+8 |
| | | |||||
* | | remove INST_TRY_CVT_TO_NUMERIC when it is known not be necessary (cherrypick ↵ | mig | 2013-12-20 | 4 | -0/+16 |
| | | | | | | | | from mig-optimize) | ||||
* | | Add TclRegisterLiteral() to internal stub table (from "mig-optimize" branch, ↵ | jan.nijtmans | 2013-12-19 | 5 | -3/+15 |
| | | | | | | | | looks like a good idea anyway) | ||||
* | | [0b874c344d] Fix for nested coroutines ability to stitch together multiple | dgp | 2013-12-18 | 2 | -36/+43 |
|\ \ | | | | | | | parts of the CmdFrame chain traversed by [info frame]. | ||||
| * \ | merge trunkbug_0b874c344d | dgp | 2013-12-18 | 11 | -279/+409 |
| |\ \ | |/ / |/| | | |||||
* | | | Making the optimizer pluggable by extensions | mig | 2013-12-18 | 5 | -4/+16 |
|\ \ \ | |||||
| * | | | Making the optimizer pluggable by extensions; please review for committing ↵mig_tmp_optimize | mig | 2013-12-18 | 5 | -4/+16 |
|/ / / | | | | | | | | | | to trunk | ||||
* | | | Improve descriptions of character escapes and ranges in Tcl.n. | dkf | 2013-12-15 | 3 | -18/+24 |
| | | | | | | | | | Improve output format handlers to cope with added escape for en-dashes. | ||||
* | | | simplification of the catch compiler and new test | mig | 2013-12-11 | 2 | -73/+48 |
|\ \ \ | |||||
| * | | | comments | mig | 2013-12-11 | 1 | -7/+4 |
| | | | | |||||
| * | | | comments | mig | 2013-12-11 | 1 | -5/+2 |
| | | | | |||||
| * | | | comments | mig | 2013-12-11 | 1 | -1/+7 |
| | | | | |||||
| * | | | new test, and fix for bug | mig | 2013-12-11 | 2 | -6/+39 |
| | | | | |||||
| * | | | simplify: remove the special case | mig | 2013-12-11 | 1 | -21/+4 |
| | | | | |||||
| * | | | store options early: simplify compiler, reduce stack manipulations | mig | 2013-12-11 | 1 | -26/+6 |
| | | | | |||||
| * | | | simplifying: drop early the evaled script | mig | 2013-12-11 | 1 | -29/+8 |
|/ / / | |||||
* | | | fix stack computations for lmap | mig | 2013-12-10 | 1 | -1/+1 |
| | | | |||||
* | | | new INST_LMAP_COLLECT, speeds up lmap and eliminates the need for a temp var | mig | 2013-12-10 | 4 | -29/+36 |
| | | | |||||
* | | | change NULL to INT2PTR(0), for clarity | mig | 2013-12-06 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | change NULL to INT2PTR(0), for claritymig_opt_foreach | mig | 2013-12-06 | 1 | -1/+1 |
| | | | | |||||
| * | | | merge trunk | mig | 2013-12-06 | 4 | -19/+55 |
| |\ \ \ | |/ / / |/| | | | |||||
* | | | | Oops, wrong macro. | jan.nijtmans | 2013-12-06 | 1 | -2/+2 |
| | | | | |||||
* | | | | Introducing a new union member in Tcl_Obj is not a good idea in a patch ↵ | jan.nijtmans | 2013-12-06 | 2 | -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. | dkf | 2013-12-06 | 3 | -10/+50 |
| | | | | |||||
* | | | | 3x speed improvement in foreach, via new compiler and opcodes. The old ↵ | mig | 2013-12-06 | 5 | -161/+255 |
|\ \ \ \ | |/ / / | | | | | | | | | version remains for old .tbc sake, but is unused in the core. | ||||
| * | | | adapted the array-set compiler to use the new foreach opcodes | mig | 2013-12-06 | 2 | -53/+31 |
| | | | | |||||
| * | | | tighter mem management in array-set compiler | mig | 2013-12-06 | 1 | -2/+2 |
| | | | | |||||
| * | | | tighter mem management | mig | 2013-12-06 | 1 | -4/+2 |
| | | | | |||||
| * | | | add comments on INST_FOREACH_* | mig | 2013-12-05 | 1 | -0/+2 |
| | | | | |||||
| * | | | add comments on field "misuse" | mig | 2013-12-05 | 2 | -1/+2 |
| | | | | |||||
| * | | | New compiler and bytecodes for foreach and lmap: 70% faster | mig | 2013-12-05 | 5 | -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. | dgp | 2013-12-18 | 1 | -66/+34 |
| | | | |||||
| * | | Factor out the level offsetting into a final pass. Let the first | dgp | 2013-12-17 | 1 | -16/+27 |
| | | | | | | | | | pass of the "chain" operation just stitch things together and count levels. | ||||
| * | | Refactoring work on the "chain" operation. | dgp | 2013-12-16 | 1 | -53/+48 |
| | | | |||||
| * | | Simplify the coding of the unchain operation. | dgp | 2013-12-13 | 1 | -31/+9 |
| | | | |||||
| * | | Draft fix for Bug 0b874c344d. Includes test. | dgp | 2013-12-05 | 2 | -4/+59 |
|/ / | |||||
* | | [a122627849] Improve stack trace from parray on not-array. | dkf | 2013-11-24 | 1 | -1/+1 |
|\ \ | |||||
| * | | [a122627849] Improve stack trace from parray on not-array. | dkf | 2013-11-24 | 1 | -1/+1 |
| | | | |||||
* | | | revert accidental part of previous commit | jan.nijtmans | 2013-11-22 | 2 | -8/+0 |
| | | | |||||
* | | | Cygwin: Fix conflicting definition with _mingw_stat64.h, if included ↵ | jan.nijtmans | 2013-11-22 | 3 | -1/+9 |
|\ \ \ | |/ / | | | | | | | together with <tcl.h> |