Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consolidate some helper routines.dgp_bye_ctx_eval_flag | dgp | 2013-08-14 | 1 | -8/+19 |
| | |||||
* | Use a new flag value TCL_EVAL_SOURCE_IN_FRAME passed in by callers to | dgp | 2013-08-12 | 1 | -11/+2 |
| | | | | | determine whether the pre-subst source information in a CmdFrame is to be used. This takes the place of numLevels cross checking, so that field is removed. Routines are consolidated as well. | ||||
* | Arrange for both execution traces and [info frame] to get their pre-subst | dgp | 2013-08-10 | 1 | -2/+17 |
| | | | | source strings from a common routine, with care taken to reduce copying by that routine. | ||||
* | Add assertions that will guide and protect more discovery of dead code for ↵ | dgp | 2013-08-06 | 1 | -3/+5 |
| | | | | elimination. | ||||
* | Eliminate the union that is no longer needed. | dgp | 2013-08-06 | 1 | -7/+7 |
| | |||||
* | Eliminate the litInfo table and all the code tending to its care and feeding. | dgp | 2013-07-16 | 1 | -13/+31 |
| | | | | The pc -> command index mapping function it provided can be achieved using other data already in the ByteCode struct. | ||||
* | More elimination of error message litter to fix [Bug 20a81392ec]. | dgp | 2013-06-28 | 1 | -11/+7 |
| | |||||
* | Correct typo detected by valgrind. | dgp | 2013-06-26 | 1 | -1/+1 |
| | |||||
* | Revise INST_EXPAND_STKTOP so that it no longer makes use of its operand. | dgp | 2013-06-11 | 1 | -14/+23 |
| | | | | | | | | | | All the information required to do a proper expansion of the exec stack to support expanded command invocation is already present. The operand doesn't provide any essential information. By ignoring it, we eliminate the risk that the compiler might fill in the operand with a bad stack depth estimate value. INST_EXPAND_STKTOP doesn't need an operand, but in order to support loading of existing bytecodes we cannot change it now. There's also no need to change what the compiler tries to place in the operand, though changing it to always be zeros would be acceptable now. | ||||
* | Repairs to compile/exec debugging output. | dgp | 2013-06-11 | 1 | -7/+10 |
| | |||||
* | Repair TCL_COMPILE_DEBUG guardsbug_3614342 | dgp | 2013-06-05 | 1 | -5/+7 |
| | |||||
* | Stack Depth fixups. | dgp | 2013-06-05 | 1 | -0/+2 |
| | |||||
* | merge trunkdkf_compile_improvements | dkf | 2013-06-05 | 1 | -7/+7 |
|\ | |||||
| * | fix for perf bug detected by Kieran ↵ | mig | 2013-06-03 | 1 | -7/+7 |
| |\ | | | | | | | | | | (https://groups.google.com/forum/?fromgroups#!topic/comp.lang.tcl/vfpI3bc-DkQ) | ||||
| | * | fix for perf bug detected by Kieran ↵ | mig | 2013-06-03 | 1 | -5/+6 |
| | | | | | | | | | | | | (https://groups.google.com/forum/?fromgroups#!topic/comp.lang.tcl/vfpI3bc-DkQ) | ||||
* | | | Stack cleanup works now even in the most evil expansion cases. | dkf | 2013-06-05 | 1 | -5/+6 |
| | | | |||||
* | | | Next stage of fixing the break/continue generation. | dkf | 2013-06-03 | 1 | -0/+11 |
|/ / | |||||
* | | Don't #define VOID on VxWorks, as it is already typdef'd to void. Eliminate ↵ | jan.nijtmans | 2013-05-19 | 1 | -5/+5 |
|\ \ | |/ | | | | | possibly conflicting LOCAL/OFFSET | ||||
| * | Don't #define VOID on VxWorks, as it is already typdef'd to void. Eliminate ↵ | jan.nijtmans | 2013-05-19 | 1 | -4/+4 |
| |\ | | | | | | | | | | possibly conflicting LOCAL/OFFSET | ||||
| | * | Protect against multiple uses of a CompileEnv with only one initialization. | dgp | 2013-02-21 | 1 | -18/+1 |
| | | | | | | | | | | | | | | | 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. | ||||
| | * | Silence some compiler warnings. | dgp | 2013-01-24 | 1 | -0/+3 |
| | | | |||||
| | * | More complete purge of things only present for supporting long-dead Mac 9 ↵ | dgp | 2012-11-15 | 1 | -1/+1 |
| | | | | | | | | | | | | systems. | ||||
* | | | merge trunkdkf_bcc_optimize | dkf | 2013-05-15 | 1 | -2/+3 |
|\ \ \ | |||||
| * \ \ | Merged fix to bytecode engine problem. Details in merged revision. | andreask | 2013-05-13 | 1 | -2/+3 |
| |\ \ \ | |||||
| | * | | | Fixed bug in parent revision [832a1994c7] unpredictably breaking thebugfix_832a1994c7_for_precompiled_bc | andreask | 2013-05-13 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution of precompiled bytecode (i.e. tbcload'ed bytecode). The semi-inversion of a guard condition dropped the part about TCL_BYTECODE_PRECOMPILED of the original condition, allowing the core to attempt to recompile code for which there are no script sources (anymore), which then fails. | ||||
* | | | | | A better technique for [list {*}blah]. Remove the INST_LIST_EXPANDED opcode ↵ | dkf | 2013-05-15 | 1 | -12/+0 |
|/ / / / | | | | | | | | | | | | | (and the complex machinery associated with it) as as it is no longer needed. | ||||
* | | | | Fix implementation of INST_LIST_EXPANDED. | dkf | 2013-05-12 | 1 | -1/+5 |
| | | | | |||||
* | | | | Optimizations and general bytecode generation improvements. | dkf | 2013-05-10 | 1 | -6/+56 |
| | | | | |||||
* | | | | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵ | jan.nijtmans | 2013-04-23 | 1 | -29/+29 |
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG | ||||
| * | | | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -1/+1 |
| | | | | |||||
* | | | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -6/+5 |
|\ \ \ \ | |/ / / | |||||
| * | | | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | ||||
* | | | | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfo | jan.nijtmans | 2013-01-25 | 1 | -2/+2 |
| | | | | | | | | | | | | Fix "make test-packages" on cygwin | ||||
* | | | | Silence some compiler warnings. | dgp | 2013-01-24 | 1 | -1/+0 |
|\ \ \ \ | |/ / / | |||||
| * | | | remove stray calls to Tcl_Alloc and friends: the core should only use ↵ | mig | 2013-01-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | ckalloc to allow MEM_DEBUG to work properly | ||||
| * | | | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -2/+2 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
| | | | | | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib | ||||
| | * | | make some more internal tables CONST | jan.nijtmans | 2012-04-18 | 1 | -4/+4 |
| | | | | | | | | | | | | fix compilation with -DNO_CONST | ||||
| * | | | some formatting (*.decls) | jan.nijtmans | 2012-04-04 | 1 | -1/+1 |
| |\ \ \ | | |/ / | | | | | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings | ||||
| | * | | wipunproven | dgp | 2011-07-12 | 1 | -25/+25 |
| | | | | |||||
| | * | | Type mismatches in *printf calls. | dgp | 2011-07-11 | 1 | -7/+9 |
| | | | | |||||
* | | | | COMPILE_DEBUG big: fix bug in stack verification for {*} | mig | 2013-01-17 | 1 | -2/+6 |
| |_|/ |/| | | |||||
* | | | discouraging the compiler from re-reading *pc in the peephole loop, part2 ↵ | mig | 2013-01-12 | 1 | -6/+2 |
| | | | | | | | | | | | | (any diff?) | ||||
* | | | discouraging the compiler from re-reading *pc in the peephole loop | mig | 2013-01-12 | 1 | -7/+10 |
| | | | |||||
* | | | even better ... or so I hope: also inlining INST_PUSH1 in the peephole, ↵ | mig | 2013-01-12 | 1 | -53/+40 |
| | | | | | | | | | | | | checking for ISC after LOAD1 and PUSH1 | ||||
* | | | better comments | mig | 2013-01-11 | 1 | -2/+6 |
| | | | |||||
* | | | fix for consecutive ISC (produced by [while 1 {...}) | mig | 2013-01-11 | 1 | -21/+16 |
| | | | |||||
* | | | testing a cheaper(?) INST_START_COMMAND | mig | 2013-01-11 | 1 | -49/+48 |
| | | | |||||
* | | | Name functions according to 'what' instead of 'how' in the [tailcall] | mig | 2013-01-11 | 1 | -1/+1 |
| | | | | | | | | | machinery, in view of making public some parts of it. | ||||
* | | | tailcall now running in a simpler model, with no eval-flags and no nre-stack ↵ | mig | 2013-01-10 | 1 | -13/+7 |
| | | | | | | | | | | | | rewriting; yieldto also requires one fewer bounce. Mostly from mig-nre-mods |