summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | merge trunkdkf2014-01-021-4/+4
| |\ \ \ | | |/ /
| | * | ... and more silly errorsdkf2014-01-021-4/+4
| | | |
| * | | merge trunkdkf2014-01-021-1/+1
| |\ \ \ | | |/ /
| | * | oops...dkf2014-01-021-1/+1
| | | |
* | | | merge main working branchdkf2014-01-021-396/+422
|\ \ \ \ | |/ / /
| * | | merge trunkdkf2014-01-021-251/+232
| |\ \ \ | | |/ /
| | * | more fixes to instruction tracing; ensure all places that need ↵dkf2014-01-021-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 stanzadkf2014-01-011-137/+79
| | | |
| | * | another jump peephole, this time with string comparisonsdkf2013-12-311-0/+14
| | | |
| * | | more cleaning up of error-case instruction tracingdkf2013-12-311-13/+8
| | | |
| * | | merge trunkdkf2013-12-311-176/+226
| |\ \ \ | | |/ /
| | * | more peephole optimizations in TEBC, and better instruction execution tracesdkf2013-12-311-148/+212
| | | |
| | * | clarify the resume sequence in TEBCresume; make checkInterp a local ↵mig2013-12-311-28/+14
| | | | | | | | | | | | | | | | variable, remove it from the saved struct
* | | | merge main working branchdkf2013-12-301-258/+864
|\ \ \ \ | |/ / /
| * | | implement [namespace origin] in bytecodedkf2013-12-301-2/+24
| | | |
| * | | precondition was wrong, and needed to flush part of the string/internal repdkf_bytecode_8_6_string_replacedkf2013-12-291-5/+27
| | | |
| * | | completed instruction implementationdkf2013-12-281-21/+51
| | | |
| * | | interim commit; not yet workingdkf2013-12-241-0/+120
| | | |
| * | | merge trunkdkf2013-12-121-5/+24
| |\ \ \ | | |/ /
| | * | new INST_LMAP_COLLECT, speeds up lmap and eliminates the need for a temp varmig2013-12-101-0/+19
| | | |
| | * | change NULL to INT2PTR(0), for claritymig_opt_foreachmig2013-12-061-1/+1
| | | |
| | * | Oops, wrong macro.jan.nijtmans2013-12-061-2/+2
| | | |
| | * | Introducing a new union member in Tcl_Obj is not a good idea in a patch ↵jan.nijtmans2013-12-061-5/+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).
| * | | merge trunkdkf2013-12-061-2/+167
| |\ \ \ | | |/ /
| | * | Stop printing undefined values in disassembled code.dkf2013-12-061-9/+8
| | | |
| | * | adapted the array-set compiler to use the new foreach opcodesmig2013-12-061-1/+0
| | | |
| | * | add comments on INST_FOREACH_*mig2013-12-051-0/+2
| | | |
| | * | add comments on field "misuse"mig2013-12-051-0/+1
| | | |
| | * | New compiler and bytecodes for foreach and lmap: 70% faster mig2013-12-051-2/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | Now do [string toupper], [string tolower] and [string totitle]. Only handles ↵dkf2013-10-291-3/+52
| | | | | | | | | | | | | | | | the no-indices case; that's the only case anyone actually commonly uses.
| * | | General [concat] compilation.dkf2013-10-261-0/+11
| | | |
| * | | Change name of instruction to make way for future changes.dkf2013-10-261-1/+1
| | | |
| * | | corrected trace printingdkf2013-10-221-8/+12
| | | |
| * | | cleaner and faster 'string trim'dkf2013-10-031-6/+28
| | | |
| * | | merge trunkdkf2013-10-031-8/+12
| |\ \ \ | | |/ /
| | * | minor: whitespace correction (my bad!)dkf2013-10-021-2/+2
| | | |
| | * | silence warnings with clangdkf2013-10-021-8/+12
| | | |
| * | | First attempt at [string trim] compilation.dkf2013-09-301-0/+33
| |/ /
| * | [31661d2135] Plug memory leak.dgp2013-09-191-1/+1
| |\ \
| | * | [31661d2135] Plug memory leak.bug_31661d2135dgp2013-09-191-1/+1
| | | |
| * | | Remove assertion that is not true in some circumstances (--enable-dtrace).dgp2013-08-221-2/+1
| | | |
| * | | Consolidate some helper routines.dgp_bye_ctx_eval_flagdgp2013-08-141-8/+19
| | | |
| * | | Use a new flag value TCL_EVAL_SOURCE_IN_FRAME passed in by callers todgp2013-08-121-11/+2
| | | | | | | | | | | | | | | | | | | | determine whether the pre-subst source information in a CmdFrame is to be used. This takes the place of numLevels cross checking, so that field is removed. Routines are consolidated as well.
| * | | Arrange for both execution traces and [info frame] to get their pre-substdgp2013-08-101-2/+17
| | | | | | | | | | | | | | | | source strings from a common routine, with care taken to reduce copying by that routine.
| * | | Add assertions that will guide and protect more discovery of dead code for ↵dgp2013-08-061-3/+5
| | | | | | | | | | | | | | | | elimination.
| * | | Eliminate the union that is no longer needed.dgp2013-08-061-7/+7
| | | |
| * | | Eliminate the litInfo table and all the code tending to its care and feeding.dgp2013-07-161-13/+31
| | | | | | | | | | | | | | | | The pc -> command index mapping function it provided can be achieved using other data already in the ByteCode struct.
| * | | More elimination of error message litter to fix [Bug 20a81392ec].dgp2013-06-281-11/+7
| | | |
| * | | Correct typo detected by valgrind.dgp2013-06-261-1/+1
| | | |
| * | | Revise INST_EXPAND_STKTOP so that it no longer makes use of its operand.dgp2013-06-111-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All the information required to do a proper expansion of the exec stack to support expanded command invocation is already present. The operand doesn't provide any essential information. By ignoring it, we eliminate the risk that the compiler might fill in the operand with a bad stack depth estimate value. INST_EXPAND_STKTOP doesn't need an operand, but in order to support loading of existing bytecodes we cannot change it now. There's also no need to change what the compiler tries to place in the operand, though changing it to always be zeros would be acceptable now.