summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
Commit message (Collapse)AuthorAgeFilesLines
* And the last bits that need fixing; the code is still less efficient than ↵dkf_loop_exception_range_workdkf2013-10-201-2/+2
| | | | desired but should now not crash.
* Improve coverage of [error] compilation.dkf2013-10-191-7/+36
|
* Tackle evalStk by reusing existing machinery.dkf2013-10-181-1/+1
|
* Working towards better handling of stack balance with break and continue ↵dkf2013-10-081-2/+2
| | | | exceptions.
* Line numbers wrong in compiled [dict with].dgp2013-09-191-5/+5
|
* Line numbers wrong in compiled [dict exists].dgp2013-09-191-4/+3
|
* Line numbers wrong in compiled [dict update].dgp2013-09-191-1/+1
|\
| * Line numbers wrong in compiled [dict update].dgp2013-09-191-1/+1
| |
* | Line numbers wrong in compiled [dict for].dgp2013-09-191-1/+1
|\ \ | |/
| * Line numbers wrong in compiled [dict for].dgp2013-09-191-1/+1
| |
* | Line numbers wrong in compiled [dict get].dgp2013-09-191-4/+3
|\ \ | |/
| * Line numbers wrong in compiled [dict get].dgp2013-09-191-4/+3
| |
* | Stop segfault due to OBOE in CompileWord() calls in [dict incr] compiler.dgp2013-09-191-1/+1
|\ \ | |/
| * Stop segfault due to OBOE in CompileWord() calls in [dict incr] compiler.dgp2013-09-191-1/+1
| |
* | Line numbers wrong in compiled [dict set].dgp2013-09-191-4/+3
|\ \ | |/
| * Line numbers wrong in compiled [dict set].dgp2013-09-191-5/+3
| |
| * Line numbers wrong in compiled foreach body.dgp2013-09-191-4/+2
| |
| |
| \
*-. \ Stop segfault due to OBOE in CompileWord() calls in [dict lappend] compiler.dgp2013-09-191-2/+2
|\ \ \ | | |/
| | * Stop segfault due to OBOE in CompileWord() calls in [dict lappend] compiler.dgp2013-09-191-2/+2
| |/
| * [3487626] Backport fix for knownBug test dict-23.2.dgp2013-09-191-0/+7
| |
| * Silence come compiler warnings.dgp2013-01-241-7/+7
| |\
* | | More macro use.dgp2013-09-131-6/+2
| | |
* | | Mark commands with potential to compile expansion arguments (as [list] does).dgp2013-07-241-0/+9
| | |
* | | Stop checking stack depth in [catch] compiler.dgp2013-07-231-10/+0
| | | | | | | | | | | | Stack depth is checked in compiles of *all* Tcl commands/scripts/bodies in debug builds already.
* | | merge trunkdgp2013-07-151-26/+11
|\ \ \
| * | | Prefer CompileWord() over CompileTokens() when possible.dgp2013-07-151-2/+1
| | | |
| * | | Global replace: CompileBody() -> BODY().dgp2013-07-121-16/+9
| | | |
| * | | Revise the CompileWord() and PushVarNameWord() macros to make explicit thedgp2013-07-111-8/+1
| | | | | | | | | | | | SetLineInformation() that's in each of them.
* | | | merge trunkdgp2013-07-111-4/+2
|\ \ \ \ | |/ / /
| * | | Revert the revised macros used in developing the new tests.tip280_test_coveragedgp2013-07-111-10/+10
| | | |
| * | | Add tests for, and fix bugs in, the SetLineInformation() calls in tclCompCmds.c.dgp2013-07-101-11/+9
| | | |
| * | | Next attempt. Appears to have uncovered a bug.dgp2013-07-101-1/+1
| | | |
| * | | First additional test. Remove dup macros in tclEnsemble.c.dgp2013-07-101-1/+1
| | | |
* | | | Stop the compileProc routines leaving behind error messages in interp.dgp2013-06-271-2/+3
|/ / / | | | | | | | | | | | | (Nicer way to solve [Bug 20a81392ec].) Make simplifications in TclCompileScript() make possible by the new structure. Still a work in progress.
* | | Select improvements in stack depth estimates brought over from mig-review.dgp2013-06-111-22/+4
| | | | | | | | | | | | | | | Mostly these are just simplifications, removing code that wasn't needed. Some changes make the stack depth estimate more accurate instruction by instruction.
* | | Factor out stereotypical ways of getting variable indices.dkf2013-06-081-149/+40
| | |
* | | Simplify stack depth management.dkf2013-06-071-31/+33
| | |
* | | More efficient instruction sequence for [dict for] with correct exception ↵dkf2013-06-061-23/+10
| | | | | | | | | | | | depth handling.
* | | 3614382 Fix stack management of compiled [dict for] by shifting limitsdgp2013-06-061-3/+4
| | | | | | | | | of the catch range.
* | | Working on the optimizer, and finding a few bugs in bytecode generation.dkf2013-06-051-2/+0
|\ \ \
| * \ \ merge fixesdkf2013-06-051-12/+0
| |\ \ \ | |/ / / |/| | |
| * | | More cleaning up; factor out optimizer to new file. Some weird problems still.dkf2013-06-051-14/+16
| | | |
* | | | Stack Depth fixups.dgp2013-06-051-12/+2
|/ / /
* | | Stack cleanup works now even in the most evil expansion cases.dkf2013-06-051-50/+12
| | |
* | | Next stage of fixing the break/continue generation.dkf2013-06-031-32/+44
| | |
* | | Generate [continue] optimally in [for] next clauses. Add tests for Bug 3614226.dkf2013-06-031-6/+5
| | |
* | | Many improvements to code generation of efficient break and continue.dkf2013-06-021-57/+36
| | |
* | | Getting better at doing more efficient break/continue instruction handling.dkf2013-06-011-50/+63
| | |
* | | Working towards the next batch of optimizations.dkf2013-05-301-0/+81
| | |
* | | Simplifications and tidying up of stack management issues. Work in progress.dgp2013-05-291-14/+13
| | |