Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | merge trunk | dkf | 2013-08-22 | 1 | -28/+28 | |
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | ||||||
| * | | | | | | Remove Tcl_Preserve support for ContLineLoc values. It's not needed. | dgp | 2013-08-07 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | | | | | | | This allows the clLoc field of CompileEnv struct to go away too. | |||||
| * | | | | | | Simplify AuxData access with a macro. | dgp | 2013-07-27 | 1 | -0/+9 | |
| | | | | | | | ||||||
| * | | | | | | Factor out the call to a compileProc into one place used by both ensemble | dgp | 2013-07-17 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | subcommand compiles and toplevel command compiles in TclCompileScript. | |||||
| * | | | | | | Eliminate the litInfo table and all the code tending to its care and feeding. | dgp | 2013-07-16 | 1 | -8/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pc -> command index mapping function it provided can be achieved using other data already in the ByteCode struct. | |||||
| * | | | | | | Build CompileBasicNArgCommand on top of TclCompileInvocation. | dgp | 2013-07-15 | 1 | -0/+3 | |
| | | | | | | | ||||||
| * | | | | | | merge trunk | dgp | 2013-07-15 | 1 | -17/+13 | |
| |\ \ \ \ \ \ | ||||||
| | * | | | | | | Global replace: CompileBody() -> BODY(). | dgp | 2013-07-12 | 1 | -7/+7 | |
| | | | | | | | | ||||||
| | * | | | | | | Revise the CompileWord() and PushVarNameWord() macros to make explicit the | dgp | 2013-07-11 | 1 | -10/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | SetLineInformation() that's in each of them. | |||||
| * | | | | | | | Revise the litInfo table so that it gets built later (in TclInitByteCodeObj) | dgp | 2013-07-10 | 1 | -0/+1 | |
| |/ / / / / / | | | | | | | | | | | | | | | from a simpler store of data that can unwind. | |||||
* | | | | | | | Properly encode more operand types to reduce the number of special cases in ↵ | dkf | 2013-06-20 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the disassembler. | |||||
* | | | | | | | Improved rendering of some opcode arguments and auxdata. | dkf | 2013-06-13 | 1 | -0/+10 | |
| | | | | | | | ||||||
* | | | | | | | Move the disassembler to its own file. | dkf | 2013-06-11 | 1 | -4/+14 | |
|/ / / / / / | ||||||
* | | | | | | Factor out stereotypical ways of getting variable indices. | dkf | 2013-06-08 | 1 | -0/+14 | |
| | | | | | | ||||||
* | | | | | | Minor grammar fix. | dkf | 2013-06-06 | 1 | -3/+3 | |
| | | | | | | ||||||
* | | | | | | More cleaning up; factor out optimizer to new file. Some weird problems still. | dkf | 2013-06-05 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | Stack cleanup works now even in the most evil expansion cases. | dkf | 2013-06-05 | 1 | -0/+7 | |
| | | | | | | ||||||
* | | | | | | Next stage of fixing the break/continue generation. | dkf | 2013-06-03 | 1 | -1/+3 | |
| | | | | | | ||||||
* | | | | | | Generate [continue] optimally in [for] next clauses. Add tests for Bug 3614226. | dkf | 2013-06-03 | 1 | -1/+12 | |
| | | | | | | ||||||
* | | | | | | Remove useless macro, use existing macro where it makes sense. | dkf | 2013-06-02 | 1 | -3/+0 | |
| | | | | | | ||||||
* | | | | | | Many improvements to code generation of efficient break and continue. | dkf | 2013-06-02 | 1 | -6/+46 | |
| | | | | | | ||||||
* | | | | | | Getting better at doing more efficient break/continue instruction handling. | dkf | 2013-06-01 | 1 | -0/+6 | |
| | | | | | | ||||||
* | | | | | | Working towards the next batch of optimizations. | dkf | 2013-05-30 | 1 | -0/+6 | |
| | | | | | | ||||||
* | | | | | | Stop emitting the instructions INST_*_SCALAR_STK*. They are identical to | dgp | 2013-05-29 | 1 | -5/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | | Spare developers the burden and error risk of counting bytes in string | dgp | 2013-05-23 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | literals, or having to type them twice. | |||||
* | | | | | | Eliminate code duplication. | dgp | 2013-05-23 | 1 | -0/+65 | |
| | | | | | | ||||||
* | | | | | | A better technique for [list {*}blah]. Remove the INST_LIST_EXPANDED opcode ↵ | dkf | 2013-05-15 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | (and the complex machinery associated with it) as as it is no longer needed. | |||||
* | | | | | | Optimizations and general bytecode generation improvements. | dkf | 2013-05-10 | 1 | -5/+31 | |
| | | | | | | ||||||
* | | | | | | New internal routine TclFetchLiteral() for better CompileEnv encapsulation. | dgp | 2013-03-05 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | Remove from tclCompile.h declarations used in only one source file. | dgp | 2013-03-05 | 1 | -3/+0 | |
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | ||||||
| * | | | | | Remove from tclCompile.h declarations used in only one source file. | dgp | 2013-03-05 | 1 | -3/+0 | |
| | | | | | | ||||||
* | | | | | | Remove TclInitCompilation() declaration with no definition. | dgp | 2013-03-05 | 1 | -1/+0 | |
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | | | ||||||
| * | | | | Remove TclInitCompilation() declaration with no definition. | dgp | 2013-03-05 | 1 | -1/+0 | |
| |\ \ \ \ | ||||||
| | * | | | | Remove TclInitCompilation() declaration that's never had a definition | dgp | 2013-03-05 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | (14 years!). | |||||
* | | | | | | Working towards more efficient treatment of non-bytecoded ensemble subcommands. | dkf | 2012-12-31 | 1 | -1/+3 | |
| |_|_|_|/ |/| | | | | ||||||
* | | | | | Added compilation of [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunk | dkf | 2012-11-05 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | whole bunch of issues with opcode issuing that were causing problems with stack depth calculations. | |||||
* | | | | | Added compilation of [string last] and improved the compilation of [string ↵ | dkf | 2012-11-03 | 1 | -13/+15 | |
| | | | | | | | | | | | | | | | | | | | | range]. This in turn enables compilation of [namespace qualifiers] and [namespace tail] (also done). | |||||
* | | | | | Added compilation of [info object isa object] (i.e., object verification). | dkf | 2012-11-03 | 1 | -1/+2 | |
| |_|_|/ |/| | | | ||||||
* | | | | Added more TclOO introspection bytecodes ([info object class], [info object ↵ | dkf | 2012-11-02 | 1 | -1/+3 | |
| |_|/ |/| | | | | | | | | namespace]). Also moved TclOO-in-8.6 to using the main Tcl internal ensemble builder. | |||||
* | | | Added compilation of [tailcall]. Not a particularly efficient compilation ↵ | dkf | 2012-11-01 | 1 | -7/+8 | |
| | | | | | | | | | | | | though; it does not detect tailcall-of-self as a special case. | |||||
* | | | Added compilation of [dict create] and [dict merge]. | dkf | 2012-11-01 | 1 | -12/+13 | |
| | | | ||||||
* | | | Added [dict exists] compilation; implementation is 95% shared with [dict get]. | dkf | 2012-10-30 | 1 | -12/+13 | |
| | | | ||||||
* | | | Compilation of [string first] and [string range] (with constant indices). | dkf | 2012-10-30 | 1 | -8/+10 | |
| | | | ||||||
* | | | Added compilation of simplest practical case of [string map]. | dkf | 2012-10-29 | 1 | -8/+11 | |
| | | | ||||||
* | | | Working towards a BCCed [yield]; this doesn't work right now. | dkf | 2012-10-26 | 1 | -7/+10 | |
| | | | ||||||
* | | | Compile [namespace which -command]; big performance saving in some contexts. | dkf | 2012-10-26 | 1 | -2/+3 | |
| | | | ||||||
* | | | yet another small introspector: [self] | dkf | 2012-10-19 | 1 | -1/+2 | |
| | | | ||||||
* | | | merge trunk | dkf | 2012-08-04 | 1 | -2/+11 | |
|\ \ \ | ||||||
| * | | | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -0/+10 | |
| | | | | ||||||
| * | | | NRInterpCoroutine -> TclNRInterpCoroutine | jan.nijtmans | 2012-07-02 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | make NRCommand static make TalInstructionTable static const |