summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | derpdkf2013-05-301-2/+2
| |
* | Working towards the next batch of optimizations.dkf2013-05-301-19/+77
| |
* | 3614102 - Reset stack housekeeping when compileProc fails.dgp2013-05-291-2/+6
| |
* | Stop emitting the instructions INST_*_SCALAR_STK*. They are identical todgp2013-05-291-1/+1
| | | | | | | | | | | | | | 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.
* | Repair some stack depth housekeeping.dgp2013-05-251-1/+1
| |
* | Removed const qualifier causing the HP native cc to error out (error 1675: ↵andreask2013-05-221-1/+1
| | | | | | | | Duplicate type qualifier "const").
* | Remove useless variables.dkf2013-05-171-42/+39
|\ \
| * | Confirmed that every caller of TclProcCompileProc() arranges for thedgp2013-05-161-11/+2
| | | | | | | | | | | | | | | | | | procPtr and nsPtr arguments: nsPtr == procPtr->cmdPtr->nsPtr. This makes the test in TclCompileScript() useless. TCS() will always compile in the current namespace of the interp. Remove the code that obfuscates that fact.
| * | Disabled some code in TclCompileScript(). Test suite results are unaffected.dgp2013-05-151-1/+3
|/ / | | | | Does this indicate a gap in the test suite, or is this code truly useless?
* | Removing a few changes that were not actually needed, and correcting comments.dkf2013-05-151-9/+6
| |
* | merge trunkdkf_bcc_optimizedkf2013-05-151-1/+1
|\ \
| * | compiler warningdgp2013-05-131-1/+1
| | |
* | | A better technique for [list {*}blah]. Remove the INST_LIST_EXPANDED opcode ↵dkf2013-05-151-60/+74
|/ / | | | | | | (and the complex machinery associated with it) as as it is no longer needed.
* | Corrected the stack balancing in the special [list {*} ] compiler.dkf2013-05-121-1/+9
| |
* | Partial fix: still ongoingdkf2013-05-111-1/+1
| |
* | Optimizations and general bytecode generation improvements.dkf2013-05-101-12/+276
| |
* | 3607372 Correct literal refcounting.bug_3607372dgp2013-03-081-1/+1
| |
* | New internal routine TclFetchLiteral() for better CompileEnv encapsulation.dgp2013-03-051-9/+9
| |
* | Remove from tclCompile.h declarations used in only one source file.dgp2013-03-051-6/+7
|\ \ | |/
| * Remove from tclCompile.h declarations used in only one source file.dgp2013-03-051-5/+6
| |
* | Revise TclReleaseLiteral() to tolerate a NULL interp argument.dgp2013-02-281-12/+4
| | | | | | Update callers and revise mistaken comments.
* | Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-221-47/+69
|\ \ | |/ | | Stop crashes when the hookProc raises an error.
| * Restore the ReleaseCmdWordData cleanup routine from 8.4, to plug verydgp2013-02-221-18/+26
| | | | | | rare memory leak.
| *-. Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-221-30/+43
| |\ \ | | | | | | | | Stop crashes when the hookProc raises an error.
| | | * Use iPtr field instead of source field to mark a CompileEnv as uninitialized.dgp2013-02-221-4/+4
| | |/ | | | | | | envPtr->source == NULL can actually be valid (at least when merging forward).
| | * Protect against multiple uses of a CompileEnv with only one initialization.dgp2013-02-211-31/+43
| | | | | | | | | | | | | | | Make TclFreeCompileEnv smarter about cleanup so all callers do not have to be. Revise TclSetByteCodeFromAny() so that when hookProc raises an error, bytecode is not generated. This was rumored to cause crashes.
| | * make some more internal tables constjan.nijtmans2012-04-231-1/+1
| | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
* | | Improve some comments and quoting, no change in functionality. jan.nijtmans2013-02-141-1/+5
|\ \ \ | |/ / | | | Only check for refCount == 0x61616161 for TCL_MEM_DEBUG build.
* | | Eliminate all Tcl_ConvertToType calls and all direct calls to ↵jan.nijtmans2013-02-041-2/+1
| | | | | | | | | | | | typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core.
* | | merge core-8-5-branchjan.nijtmans2013-01-311-9/+6
|\ \ \ | |/ /
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵jan.nijtmans2013-01-311-7/+5
| | | | | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
| * | some formatting (*.decls)jan.nijtmans2012-04-041-1/+1
| |\ \ | | |/ | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings
* | | Passing more tests.dkf2013-01-021-1/+1
| | |
* | | Working towards more efficient treatment of non-bytecoded ensemble subcommands.dkf2012-12-311-0/+5
| | |
* | | Added compilation of [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunkdkf2012-11-051-3/+45
| | | | | | | | | | | | 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-0/+7
| | | | | | | | | | | | 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-2/+8
| | |
* | | Added more TclOO introspection bytecodes ([info object class], [info object ↵dkf2012-11-021-0/+8
| | | | | | | | | | | | 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-0/+4
| | | | | | | | | | | | though; it does not detect tailcall-of-self as a special case.
* | | Added compilation of [dict create] and [dict merge].dkf2012-11-011-0/+4
| | |
* | | Added [dict exists] compilation; implementation is 95% shared with [dict get].dkf2012-10-301-0/+6
| | |
* | | Compilation of [string first] and [string range] (with constant indices).dkf2012-10-301-1/+7
| | |
* | | Added compilation of simplest practical case of [string map].dkf2012-10-291-0/+5
| | |
* | | Working towards a BCCed [yield]; this doesn't work right now.dkf2012-10-261-3/+9
| | |
* | | Compile [namespace which -command]; big performance saving in some contexts.dkf2012-10-261-0/+5
| | |
* | | yet another small introspector: [self]dkf2012-10-191-0/+3
| | |
* | | merge trunkdkf2012-08-041-13/+6
|\ \ \
| * | | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-13/+6
| | | |
* | | | Compilation of misc info sometimes used in high-performance code.dkf2012-03-041-4/+17
|/ / /
* | | Merged core-8-5-branch segfault fix (commits [39f6ebe301] and [a6aa5be5b7]).andreask2012-02-171-1/+2
|\ \ \ | |/ /