summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Improving tests, fixed one case.dkf2013-06-091-27/+44
|
* Working on a better compiler for [try]; found some bugs in previous compilationdkf2013-06-081-23/+123
| | | code which aren't resolved yet.
* More informative comment describing INST_SYNTAX.dkf2013-06-081-1/+2
|
* Factor out stereotypical ways of getting variable indices.dkf2013-06-083-160/+63
|
* 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.
* 3614360 Repair stack demands of optimized compiled [return LITERAL].dgp2013-06-061-0/+1
|
* Working on the optimizer.dkf2013-06-062-82/+223
|\
| * Minor grammar fix.dkf2013-06-061-3/+3
| |
| * Split the optimizer up. Remove the dreaded 'goto' from which doesn't need it.dkf2013-06-061-81/+127
| |
| * Added optimizing of jump-to-nop and jump-to-jump cases. Ta to AK for suggesting.dkf2013-06-051-57/+152
| |
* | Working on the optimizer, and finding a few bugs in bytecode generation.dkf2013-06-054-176/+290
|\ \ | |/
| * Added the optimizer...dkf2013-06-051-0/+287
| |
| * Corrected wrong information about instruction width that was causing an ↵dkf2013-06-051-1/+1
| | | | | | | | optimizer crash.
| * merge fixesdkf2013-06-052-17/+9
| |\ | |/ |/|
| * More cleaning up; factor out optimizer to new file. Some weird problems still.dkf2013-06-053-187/+18
| |
* | Repair TCL_COMPILE_DEBUG guardsbug_3614342dgp2013-06-051-5/+7
| |
* | Stack Depth fixups.dgp2013-06-052-12/+4
|/
* merge trunkdkf_compile_improvementsdkf2013-06-051-7/+7
|\
| * fix for perf bug detected by Kieran ↵mig2013-06-031-7/+7
| |\ | | | | | | | | | (https://groups.google.com/forum/?fromgroups#!topic/comp.lang.tcl/vfpI3bc-DkQ)
| | * fix for perf bug detected by Kieran ↵mig2013-06-031-5/+6
| | | | | | | | | | | | (https://groups.google.com/forum/?fromgroups#!topic/comp.lang.tcl/vfpI3bc-DkQ)
| | * Fix C99 comment-ism breaking the native AIX compiler. HPUX likely as well.andreask2013-05-291-2/+2
| | |
* | | Stack cleanup works now even in the most evil expansion cases.dkf2013-06-055-60/+130
| | |
* | | Next stage of fixing the break/continue generation.dkf2013-06-034-33/+61
|/ /
* | Generate [continue] optimally in [for] next clauses. Add tests for Bug 3614226.dkf2013-06-033-8/+51
| |
* | Fix a stack depth calculation.dkf2013-06-021-1/+1
| |
* | Remove useless macro, use existing macro where it makes sense.dkf2013-06-022-5/+2
| |
* | Many improvements to code generation of efficient break and continue.dkf2013-06-024-81/+235
| |
* | Getting better at doing more efficient break/continue instruction handling.dkf2013-06-013-50/+111
| |
* | derpdkf2013-05-301-2/+2
| |
* | Working towards the next batch of optimizations.dkf2013-05-304-19/+168
| |
* | Corrected code generation when doing the second run with an 'infinite' loop.dkf2013-05-301-1/+1
| |
* | Simplifications and tidying up of stack management issues. Work in progress.dgp2013-05-291-14/+13
| |
* | 3614102 - Reset stack housekeeping when compileProc fails.dgp2013-05-291-2/+6
| |
* | Stop emitting the instructions INST_*_SCALAR_STK*. They are identical todgp2013-05-296-94/+67
| | | | | | | | | | | | | | their INST_*_STK* counterparts. Having done that, it is clear the "simpleVarName" return from TclPushVarName provides nothing of use to any of its callers. Eliminate that. Also make TPVN return void, instead of int. Bring the TPVN header comments up to date; they were quite rotten.
* | Use the routines that provide "basic compile" instead of reinventing them.dgp2013-05-281-34/+16
| |
* | Plug the memory leak. Greater ambitions to improve this routine are provingdgp2013-05-281-0/+1
| | | | | | more difficult than expected.
* | Missed bits of dup code elimination.dgp2013-05-281-23/+0
| |
* | Repair some stack depth housekeeping.dgp2013-05-254-7/+3
| |
* | 3613854 - Fixup stack maintenance /code generation for [array set x $oddList]. dgp2013-05-241-20/+17
| | | | | | | | Postscript - I see that this commit created a memory leak. Will commit a fix within a few days.
* | Spare developers the burden and error risk of counting bytes in stringdgp2013-05-234-77/+81
| | | | | | literals, or having to type them twice.
* | Eliminate code duplication.dgp2013-05-234-666/+68
| |
* | Removed const qualifier causing the HP native cc to error out (error 1675: ↵andreask2013-05-221-1/+1
| | | | | | | | Duplicate type qualifier "const").
* | silence compiler warningdgp2013-05-221-1/+2
|\ \ | |/
| * silence compiler warningdgp2013-05-221-1/+2
| |
* | [3613609]: Replace strcasecmp() with UTF-8-aware version.dkf2013-05-224-6/+47
|\ \ | |/
| * Fixed the weird edge case.bug_3613609dkf2013-05-221-12/+25
| |
| * Slight improvement: if cs = "\xC0\x80" and ct = "\x00", loop would continue ↵jan.nijtmans2013-05-211-4/+4
| | | | | | | | after NUL-byte, this should not happen.
| * Proposed solution for 3613609: lsort -nocase does not sort non-ASCII correctlyjan.nijtmans2013-05-214-6/+34
| |