| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: errors early on, so that errorInfo
* generic/tclInt.h: contains the proper info [Bug 3047235]
* generic/tclNamesp.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdAH.c: (a) fix #3047235
* generic/tclCompile.h: (b) enable fix for #3046594
* generic/tclExecute.c: (c) enable recursive tailcalls
* generic/tclInt.h:
* generic/tclNamesp.c:
* tests/tailcall.test:
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclDictObj.c (DictGetCmd): always generates an errorCode on
a failure to look up an entry.
|
| | |
| | |
| | |
| | |
| | |
| | | |
sure that errors caused by an argument to an operator being outside
the domain of the operator all result in ::errorCode being ARITH
DOMAIN and not NONE.
|
| | |
| | |
| | |
| | | |
with errors.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: be traversable accross coro
boundaries. Add the special coroutine CallFrame (partially
reverting commit of 2009-12-10), as it is needed for coroutines
that do not push a CF - eg, those with [eval] as command. Thanks
to Colin McCormack (coldstore) and Alexandre Ferrieux for the
hard work on this.
|
| | | |
|
| | |
| | |
| | |
| | | |
of instruction-level execution tracing (had been broken by NRE).
|
| | |
| | |
| | |
| | |
| | | |
of the fact that INST_DICT_FIRST and INST_DICT_NEXT always have a
conditional jump afterwards.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move <limits.h> include from
tclInt.h to tclWinPort.h, and
eliminate unneeded <stdlib.h>, <stdio.h> and
<string.h>, which are already in tclInt.h
Move "tclInt.h" from regcustom.h
up to regex.h.
tclAlloc.c: Unneeded <stdio.h> include
tclExecute.c: Fix gcc warning: comparison between signed and unsigned
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
deletion of traces is not optimized out...
* generic/tclExecute.c (ExecuteExtendedBinaryMathOp)
(TclCompareTwoNumbers,ExecuteExtendedUnaryMathOp,TclExecuteByteCode):
[Patch 2981677]: Move the less common arithmetic operations (i.e.,
exponentiation and operations on non-longs) out of TEBC for a big drop
in the overall size of the stack frame for most code. Net effect on
speed is minimal (slightly faster overall in tclbench). Also extended
the number of places where TRESULT handling is replaced with a jump to
dedicated code.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
included, don't include <limits.h>
again. Follow-up to [Bug 2991415]:
tclport.h #included before limits.h
See comments in [Bug 2991415]
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: to fix yieldTo, which had not survived
* generic/tclInt.h: the latest mods to tailcall. Thanks kbk
for detecting the problem.
|
| | |
| | |
| | |
| | | |
reduce indentation for the Invocation Block.
|
| | | |
|
| | |
| | |
| | |
| | | |
instructions than before.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: [Bug 2910748]
* tests/nre.test:
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: tailcall-management duties
* generic/tclNamesp.c:
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: from TclNRTailcallObjCmd to TEBC, so that
the pairing of the Enter and Release calls is clearer.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
know about bottomPtr, tebc does not need to behave differently on exit for coros
|
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: [Bug 2806407]
|
| | |
| | |
| | |
| | | |
earlier commits in coroutine management.
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: coroutines by delegating more to tebc;
eliminate the special coroutine CallFrame.
|
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: coroutines
|
| | |
| | |
| | |
| | |
| | |
| | | |
(objc,objv)for coroutines.
* generic/tclExecute.c: Code regrouping
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: The initial call still requires its
* generic/tclInt.h: own instance of tebc, but on resume coros
can execute in the caller's tebc.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
structs, to reduce register pressure and help the compiler with
variable allocation.
|
| | |
| | |
| | |
| | | |
* generic/tclInt.h:
|
| | | |
|
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: and coroutine code.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: that they set the typePtr field to
* generic/tclIO.c: NULL so that the Tcl_Obj is not left
* generic/tclIndexObj.c: in an inconsistent state.
* generic/tclInt.h: [Bug 2857044]
* generic/tclListObj.c:
* generic/tclNamesp.c:
* generic/tclOOCall.c:
* generic/tclObj.c:
* generic/tclPathObj.c:
* generic/tclProc.c:
* generic/tclRegexp.c:
* generic/tclStringObj.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclFCmd.c: null dereference flagged by clang static
* generic/tclProc.c: analyzer.
* generic/tclTimer.c:
* generic/tclUtf.c:
* generic/tclExecute.c: silence false positives from clang static
* generic/tclIO.c: analyzer about potential null dereference.
* generic/tclScan.c:
* generic/tclCompExpr.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclBasic.c: compiler routine for the [subst] command.
* generic/tclCmdMZ.c: This is a partial solution to the need to
* generic/tclCompile.c: NR-enable [subst] since bytecode execution is
* generic/tclCompile.h: already NR-enabled. [Bug 2314561] Two new
* generic/tclExecute.c: bytecode instructions, INST_NOP and
* generic/tclInt.h: INST_RETURN_CODE_BRANCH were added to support
* generic/tclParse.c: the new routine. INST_RETURN_CODE_BRANCH is
* tests/basic.test: likely to be useful in any future effort to
* tests/info.test: add a bytecode compiler routine for [try].
* tests/parse.test:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/NRE.3: New public routine Tcl_NRExprObj() permits
* generic/tcl.decls: extension commands to evaluate Tcl expressions
* generic/tclBasic.c: in NR-enabled command procedures.
* generic/tclCmdAH.c:
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclObj.c:
* tests/expr.test:
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
|
| | | |
|