summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * tighter mem management in array-set compilermig2013-12-061-2/+2
| | | |
| | | * tighter mem managementmig2013-12-061-4/+2
| | | |
| | | * add comments on field "misuse"mig2013-12-051-1/+1
| | | |
| | | * New compiler and bytecodes for foreach and lmap: 70% faster mig2013-12-051-100/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * | General [concat] compilation.dkf2013-10-261-2/+10
| | | |
| | * | Change name of instruction to make way for future changes.dkf2013-10-261-2/+2
| | | |
| | * | First step in compiling [concat]: the trivial cases.dkf2013-10-241-0/+86
| | |/
| | * 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.
| * | merge trunkdkf2013-09-201-28/+21
| |\ \ | | |/
| | * 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 for].dgp2013-09-191-1/+1
| | |\ \
| | * \ \ 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
| | |\ \ \ \
| | * \ \ \ \ Line numbers wrong in compiled [dict set].dgp2013-09-191-4/+3
| | |\ \ \ \ \
| | | \ \ \ \ \
| | | \ \ \ \ \
| | *-. \ \ \ \ \ Stop segfault due to OBOE in CompileWord() calls in [dict lappend] compiler.dgp2013-09-191-2/+2
| | |\ \ \ \ \ \ \
| | * | | | | | | | More macro use.dgp2013-09-131-6/+2
| | | | | | | | | |
| * | | | | | | | | merge trunkdkf2013-08-221-41/+24
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | 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.
| * | | | | | | | | Improved rendering of some opcode arguments and auxdata.dkf2013-06-131-5/+81
| |/ / / / / / / /
| * | | | | | | | 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
| | | | | | | | |