summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
Commit message (Collapse)AuthorAgeFilesLines
* redundant end-of-line spacingjan.nijtmans2017-03-151-2/+2
|
* Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+99
| | | | [clock seconds].
* EVIL HACKs are bad. Unnecessary ones are intolerable. Bad tests cause trouble.dgp2016-10-201-11/+0
|
* make some MODULE_SCOPE symbols staticjan.nijtmans2015-12-151-6/+39
|
* Issue the correct auxType when compiling [array set].dkf2015-12-121-1/+1
|
* Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-13/+13
|\
| * 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].
* | remove unnecessary checks found by coverityMiguel Sofer2015-07-301-6/+2
| |
* | Use more suitable variable name pushers.dgp2014-12-231-3/+3
| |
* | Revise CompileEachloopCmd() to use LocalScalar() in place of TclIsLocalScalar().dgp2014-12-231-79/+40
| |
* | Convert the LocalScalar*() macros to rest on TclPushVarName rather than ondgp2014-12-221-0/+48
| | | | | | TclIsLocalScalar().
* | Use (interp == NULL) argument to TclPushVarName() to signal that no compilingdgp2014-12-221-3/+3
| | | | | | is desired. Only a lookup of an index into the compiled variable table.
* | More complete use of the TCL_NO_ELEMENT flag to suppress useless actions.dgp2014-12-221-3/+5
| |
* | Ever since (Tcl)PushVarName() stopped making a recursive call to ↵dgp2014-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.
| * 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
| |\ | |/ |/|
| * Line numbers wrong in compiled [global] and [variable].dgp2013-09-191-6/+12
| |
| * Line numbers wrong in compiled [namespace upvar].dgp2013-09-191-4/+4
| |
| * Line numbers wrong in compiled [upvar].dgp2013-09-191-8/+8
| |
* | 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.