summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify AuxData access with a macro.dgp2013-07-271-1/+1
|
* more disabled code removaldgp2013-07-241-7/+0
|
* [assemble] compile syntax error into bytecode reporting syntax error message.dgp_tcs_rewritedgp2013-07-181-7/+3
|
* merge trunkdgp2013-07-181-7/+8
|\
| * [Bug 1c17fbba5d] Fix -errorinfo from syntax errors so that the error isdgp2013-07-181-7/+8
| | | | | | not obscured. Instead highlight it by making it the last character quoted.
* | Stop the compileProc routines leaving behind error messages in interp.dgp2013-06-271-2/+30
|/ | | | | (Nicer way to solve [Bug 20a81392ec].) Make simplifications in TclCompileScript() make possible by the new structure. Still a work in progress.
* Stack cleanup works now even in the most evil expansion cases.dkf2013-06-051-1/+1
|
* Remove useless macro, use existing macro where it makes sense.dkf2013-06-021-2/+2
|
* Stop emitting the instructions INST_*_SCALAR_STK*. They are identical todgp2013-05-291-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.
* Missed bits of dup code elimination.dgp2013-05-281-23/+0
|
* Removing a few changes that were not actually needed, and correcting comments.dkf2013-05-151-1/+1
|
* Optimizations and general bytecode generation improvements.dkf2013-05-101-1/+2
|
* unused variablesdgp2013-02-221-5/+0
|
* Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-221-38/+0
| | | Stop crashes when the hookProc raises an error.
* merge core-8-5-branchjan.nijtmans2013-01-311-4/+3
|
* fix minor memory leakjan.nijtmans2013-01-251-1/+0
|
* Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-251-5/+4
| | | Fix "make test-packages" on cygwin
* Added compilation of [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunkdkf2012-11-051-0/+4
| | | | 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 ↵dkf2012-11-031-4/+6
| | | | 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).dkf2012-11-031-0/+1
|
* Added more TclOO introspection bytecodes ([info object class], [info object ↵dkf2012-11-021-0/+2
| | | | namespace]). Also moved TclOO-in-8.6 to using the main Tcl internal ensemble builder.
* Added compilation of [tailcall]. Not a particularly efficient compilation ↵dkf2012-11-011-3/+3
| | | | though; it does not detect tailcall-of-self as a special case.
* Added compilation of [dict create] and [dict merge].dkf2012-11-011-6/+7
|
* Added [dict exists] compilation; implementation is 95% shared with [dict get].dkf2012-10-301-0/+1
|
* Compilation of [string first] and [string range] (with constant indices).dkf2012-10-301-4/+6
|
* Added compilation of simplest practical case of [string map].dkf2012-10-291-4/+6
|
* Working towards a BCCed [yield]; this doesn't work right now.dkf2012-10-261-4/+5
|
* Compile [namespace which -command]; big performance saving in some contexts.dkf2012-10-261-1/+3
|
* yet another small introspector: [self]dkf2012-10-191-0/+1
|
* merge trunkdkf2012-08-041-4/+4
|\
| * NRInterpCoroutine -> TclNRInterpCoroutinejan.nijtmans2012-07-021-3/+3
| | | | | | | | make NRCommand static make TalInstructionTable static const
| * make some more internal tables constjan.nijtmans2012-04-231-1/+1
| |
* | Compilation of misc info sometimes used in high-performance code.dkf2012-03-041-1/+8
|/
* Add the other instructions to the assembler's nous.dkf_dict_with_compileddkf2011-10-061-0/+2
|
* Add assembler support for the new INST that I think has a stable interface.dkf2011-10-031-0/+1
|
* * generic/tclAssemnbly.c: Plug another memory leak. [Bug 3384840]Kevin B Kenny2011-08-061-0/+29
| | | | * generic/tclStrToD.c: Plug another memory leak. [Bug 3386975]
* Plug another memory leak. [Bug 3384840]Kevin B Kenny2011-08-061-6/+15
|
* Plug another memory leak. [Bug 3384840]Kevin B Kenny2011-08-061-0/+7
|
* Use Tcl_PrintfObj to generate more (complex) error messages.dkf2011-08-051-5/+2
|
* Ensure that memory isn't leaked when an unknown instruction is encountered.dkf2011-08-051-108/+111
|
* More memleak plugging.dkf2011-08-041-15/+2
|
* [Bug 3384840]: Fix memory leaks in the assembler due to Tcl_Obj referencedkf2011-08-041-18/+4
| | | ownership error.
* platform portable type matching in debug printsdgp2011-07-121-2/+2
|
* * generic/tclAssembly.c (BBEmitInstInt1): Changed parameter Kevin B Kenny2011-03-131-2/+2
| | | | | | | | | | data types in an effort to silence a MSVC warning reported by Ashok P. Nadkarni. Unable to test, since both forms work on my machine in VC2005, 2008. 2010, in both release and debug builds. * tests/tclTest.c (TestdstringCmd): Restored MSVC buildability broken by [5574bdd262], which changed the effective return type of 'ckalloc' from 'char*' to 'void*'.
* Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-9/+9
| | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* Fix gcc warning: comparison between signed and unsigned integer expressionsjan.nijtmans2011-03-081-1/+1
|
* Make the assembler code more like Tcl code.dkf2011-03-081-1295/+1429
|
* stray ';'jan.nijtmans2011-03-071-1/+1
|
* * tclAssembly.c:Kevin B Kenny2010-12-161-89/+234
| | | | | | | * assemble.test: Reworked beginCatch/endCatch handling to enforce the more severe (but more correct) restrictions on catch handling that appeared in the discussion of [Bug 3098302] and in tcl-core traffic beginning about 2010-10-29.
* * generic/tclAssembly.c:Kevin B Kenny2010-10-281-21/+395
| | | | * tests/assembly.test (assemble-31.*): Added jump tables.