summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-2/+2
|
* One more (interp==NULL) shortcut.dgp2014-12-221-1/+1
|
* Revise name and interface of new utility routines to match work alreadydgp2014-12-191-38/+67
| | | in place on the trunk.
* New utility routine GetLocalScalarIndex() reduces common caller boilerplatebug_e711ffb458dgp2014-12-191-54/+58
| | | (and fixes a bug!)
* Use interp==NULL argument to PushVarName to signal that only an index intodgp2014-12-191-17/+17
| | | | the CLT is sought, and no time should be wasted compiling other cases which the caller is just going to discard.
* Replace TclIsLocalScalar() with PushVarNameWord() in [dict for] compiler.dgp2014-12-191-26/+27
|
* Narrow scope of numVars.dgp2014-12-191-1/+2
|
* A bit more tidying...dgp2014-12-181-6/+4
|
* No need for a loopIndex.dgp2014-12-181-7/+4
|
* No need for varvList any more.dgp2014-12-181-25/+2
|
* Fix up the token array passed to PushVarNameWord. Remove string list parse.dgp2014-12-181-33/+6
|
* Replace use of TclIsLocalScalar() and late setting of varIndexes with andgp2014-12-181-15/+29
| | | earlier setting of varIndexes using PushVarNameWord().
* Simplify creation and storage of temporariesdgp2014-12-181-17/+7
|
* With that shift, varcList is no longer needed.dgp2014-12-181-7/+1
|
* Shift the allocation of AuxData earlier in the [foreach] compiler.dgp2014-12-181-16/+25
|
* Similar conversion of the [dict append] compiler.dgp2014-12-111-16/+9
|
* Similar conversion for [dict update] compiler.dgp2014-12-111-30/+15
|
* Similar revisions to [dict incr] compiler.dgp2014-12-111-38/+22
|
* Get the word number right, even though it has no effect.dgp2014-12-111-1/+1
|
* [e711ffb458] Same conversion for [catch] compiler.dgp2014-12-111-36/+7
|
* [e711ffb458] Replace TclIsLocalScalar() with PushVarNameWord() in thedgp2014-12-091-13/+7
| | | compiler for [dict set].
* [e711ffb458] Replace TclIsLocalScalar() (which does the wrong thing).... withdgp2014-12-091-12/+6
| | | PushVarNameWord() (which doesn't) in the compiler for [dict lappend].
* Ever since (Tcl)PushVarName() stopped making a recursive call todgp2014-12-051-10/+1
| | | | | Tcl_ParseCommand() (in the pre-8.4.0 timeframe), there's been no need for special protections for brace-quoted varname words. A simple word is a simple word is a simple word.
* [0c043a175] backport fix from trunk.dgp2014-12-031-1/+1
|\
| * test and fix (thx dgp)bug_0c043a175Miguel Sofer2014-12-031-1/+1
| |
| * Possible fix for testing.dgp2014-10-021-3/+5
| |
| * Backing out commit [cddbfc3081], fix for bug [82521bfb6734f891dd]Miguel Sofer2014-09-271-1/+0
| | | | | | | | | | The "optimisation" in that commit assumes that the last byte in the generated bytecodes is an INST_TRY_CONVERT if it equals 64. This is an invalid assumption, it could be 64 and not be an instruction.
| * merge trunkdkf2014-01-091-273/+314
| |\
| | * merge trunkdkf2014-01-051-2/+2
| | |\
| | | * fix arraySet compiler to set -errorcode instead of -errorCode in return optionsmig2014-01-051-2/+2
| | | |
| | * | put the other definition of a trim set in the header file toodkf2013-12-301-7/+0
| | | |
| | * | merge trunkdkf2013-12-231-13/+19
| | |\ \ | | | |/
| | | * Added new tools for managing and verifying the stack depth during ↵mig2013-12-231-2/+8
| | | | | | | | | | | | | | | | 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-201-0/+1
| | | | | | | | | | | | | | | | from mig-optimize)
| | * | merge trunk; document added instructionsdkf2013-12-121-73/+18
| | |\ \ | | | |/
| | | * 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
| | | |
| | * | merge trunkdkf2013-12-121-28/+14
| | |\ \ | | | |/
| | | * new INST_LMAP_COLLECT, speeds up lmap and eliminates the need for a temp varmig2013-12-101-28/+14
| | | |
| | * | merge trunkdkf2013-12-061-157/+105
| | |\ \ | | | |/
| | | * Stop printing undefined values in disassembled code.dkf2013-12-061-1/+41
| | | |
| | | * adapted the array-set compiler to use the new foreach opcodesmig2013-12-061-52/+31
| | | |