summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
Commit message (Collapse)AuthorAgeFilesLines
* merge changes from trunknovem_no_startcmddkf2013-01-301-6/+4
|\
| * 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
* | add special opcodes for common forms of stack manipulationsdkf2012-12-131-11/+7
| |
* | refactor all macros for code issuing into tclCompile.hdkf2012-12-111-23/+0
| |
* | fix math problem; remove duplicate opcodesdkf2012-12-031-3/+2
| |
* | Experimenting with not generating INST_START_CMD where it wouldn't be useful. dkf2012-12-021-49/+47
| | | | | | Also removed INST_DICT_DONE; it wasn't ever issued.
* | Improve behavior when exception ranges need retraction.dkf2012-11-301-2/+2
| |
* | Get rid of two unusable bytecodes; they always Tcl_Panic()ed...dkf2012-11-291-7/+7
| |
* | Reducing the complexity of the bytecodes as an experiment.dkf2012-11-291-174/+48
|/
* 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.
* * tclAssembly.c:Kevin B Kenny2010-10-241-234/+342
| | | | | | | * assembly.test (assemble-17.15): Reworked branch handling so that forward branches can use jump1 (jumpTrue1, jumpFalse1). Added test cases that the forward branches will expand to jump4, jumpTrue4, jumpFalse4 when needed.
* removed useless separation between tclAssembly.h and tclAssembly.cKevin B Kenny2010-10-231-2/+236
|
* Added catches. Still needs a lot of testing.Kevin B Kenny2010-10-061-346/+1208
|
* nop and regexpKevin B Kenny2010-10-021-0/+16
|
* added missing tests: nsupvar, variable, upvarKevin B Kenny2010-10-021-3/+3
|
* * generic/tclAssembly.c:Kevin B Kenny2010-10-021-0/+58
| | | | | | | | * generic/tclAssembly.h: * tests/assemble.test: Added dictAppend, dictIncrImm, dictLappend, dictSet, dictUnset, nsupvar, upvar, and variable. (Still need tests for the last three.) Merged changes from HEAD.
* Added listIn, listNotIn, and dictGet.Kevin B Kenny2010-10-011-1/+18
|