| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
reducing objsize, number of branches and cache misses (according
to cachegrind). Non-overflow for s=a+b:
previous
((a >= 0 || b >= 0 || s < 0) && (s >= 0 || b < 0 || a < 0))
now
(((a^s) >= 0) || ((a^b) < 0))
This expresses: "a and s have the same sign or else a and b have
different sign".
|
| |
|
|
|
|
|
| |
the new availability of Tcl_Obj in variable names, avoiding string
comparisons to verify that the cached value is usable.
|
|
|
|
| |
before the switch. Reduces both runtime and obj size a tiny bit.
|
|
|
|
|
|
|
|
| |
struct (again "free" due to alignment requirements) to mark those
subexpressions that are completely known at compile time. Enhanced
CompileExprTree() and its callers to precompute these constant
subexpressions at compile time. This resolves the issue raised
in [Bug 1564517].
|
| |
|
|
|
|
| |
the interp's result if it will be pushed/popped.
|
|
|
|
|
|
| |
* tests/thread.test: ::errorInfo and ::errorCode so that string
* tests/trace.test: reported to variable traces are fully
qualified in agreement with Tcl 8.4 operations.
|
|
|
|
|
|
| |
issues with loading from memory on intel and 64bit; add debug messages.
* tests/load.test: add test load-10.1 for loading from vfs.
|
|
|
|
| |
* tests/trace.test: Tcl_LogCommandInfo() call. [Bug 1773040]
|
|
|
|
| |
instead of calling the function.
|
|
|
|
| |
memset to 0 of all allocated objects.
|
| |
|
|
|
|
| |
causing a leak.
|
|
|
|
| |
eliminate duplication.
|
|
|
|
|
|
|
|
| |
OpNode mark field scheme of tree traversal. This eliminates the need
to use magic values in the left and right fields for that purpose.
Also stop abusing the left field within ParseExpr() to store the
number of arguments in a parsed function call. CompileExprTree() now
determines that for itself at compile time.
|
|
|
|
| |
required varflag values when loading precompiled procs.
|
|
|
|
|
| |
* tests/trace.test (trace-2.6): whole array write traces on
compiled local variables were not firing [Bug 1770591]
|
|
|
|
| |
procPtr. codePtr->procPtr == NULL exposed by tbcload.
|
|
|
|
| |
in the -DNO_WIDE_TYPE configuration.
|
|
|
|
| |
* tests/expr.test: to *SHIFT operations. [Bug 1770224].
|
|
|
|
| |
is not called in the normal case.
|
|
|
|
|
|
| |
that flag bit does not exist any longer.
* generic/tclProc.c (InitCompiledLocals): removed optimisation for
non-resolved case, as the function is never called in that case.
|
|
|
|
|
|
| |
* generic/tclInt.h: xotcl adapt to VarReform.
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
|
|
|
|
|
|
|
|
|
|
| |
object files linked directly into executables.
* unix/configure.in (Darwin): only use -seg1addr flag when prebinding;
use -mdynamic-no-pic flag for object files linked directly into exes;
support overriding TCL_PACKAGE_PATH/TCL_MODULE_PATH in environment.
* unix/configure: autoconf-2.59
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompExpr.c: Added a "mark" field to the OpNode
struct, which is used to guide tree traversal. This field costs
nothing since alignement requirements used the memory already.
Rewrote ConvertTreeToTokens() to use the new field, which permitted
consolidation of utility routines CopyTokens() and
GenerateTokensForLiteral().
|
|
|
|
|
|
|
|
| |
silence compiler warnings.
* generic/tclDate.c: Regenerated
* win/tclWinTest.c: Added a cast to the call to
GetSecurityDescriptorDacl to silence compiler
warnings.
|
| |
|
| |
|
|
|
|
| |
compilation with MSVC6 and anything else that may not define this macro.
|
|
|
|
| |
Virden.
|
|
|
|
| |
*** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h)
|
| |
|
|
|
|
|
| |
* win/configure.in: [Patch 1754128]
* win/makefile.vc:
|
| |
|
|
|
|
|
| |
replacement to fill the tcl_platform(user) field as it is not subject
to spoofing.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c (TEBC, TclGetSrcInfoForCmd):
* generic/tclInt.h:
* generic/tclTrace.c (TclCheck(Interp|Execution)Traces):
Removed the need for TEBC to inspect the command before calling
TEOvI, leveraging the TIP 282 infrastructure. Moved the generation
of a correct nul-terminated command string away from the trace
code, back into TEOvI/GetCommandSource.
|
|
|
|
|
|
|
|
|
| |
* library/platform/pkgIndex.tcl: where identifiers not matching
* unix/Makefile.in: the special linux and solaris forms would not
* win/Makefile.in: get 'tcl' as an acceptable platform added to
* doc/platform.n: the result. Bumped package to version 1.0.3 and
* doc/platform_shell.n: updated documentation and Makefiles. Also
fixed bad version info in the documentation of platform::shell.
|
|
|
|
|
|
| |
might be different, be sure to use the latter for error reporting.
Also pulled the interp argument back out of ParseTokens() since we
already had a parsePtr->interp to work with.
|
| |
|
|
|
|
|
|
| |
explain the operations of ParseExpr(), made significant revisions
to the code so it would be easier to explain, and in the process
made the code simpler and clearer as well.
|
|
|
|
|
|
| |
* tests/parseExpr.test: Several tests of syntax error messages
to check that when expression substrings are truncated they leave
visible the context relevant to the reported error.
|
|
|
|
| |
common code for reporting syntax errors in LEAF elements.
|
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c (TclCompileWhileCmd):
* generic/tclCompile.c (TclCompileScript):
Corrected faulty avoidance of INST_START_CMD when the first opcode
in a script is within a loop (as produced by 'while 1'), so that
the corresponding command is properly counted [Bug 1752146].
|