summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove extra scribblings not normally needed. Thanks to jdc for suggestion.dkf2013-06-171-2/+2
|
* Improved rendering of some opcode arguments and auxdata.dkf2013-06-134-14/+150
|
* merge trunkdkf2013-06-139-31/+59
|\
| * Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. jan.nijtmans2013-06-132-11/+11
| |\ | | | | | | Fix some gcc warnings which become visible with -Wextra
| | * Fix some gcc warnings which become visible with -Wextrajan.nijtmans2013-06-132-28/+28
| | |
| | * Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64jan.nijtmans2013-06-121-2/+2
| | |
| * | Workaround for mingw-w64 (AMD64-only) bug: It appears that zdll.lib (as ↵jan.nijtmans2013-06-124-3/+17
| | | | | | | | | | | | produced by Microsoft tools) doesn't import the zlib symbols correctly, so use "libz.dll.a" produced with mingw-w64 tools in stead.
| * | Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-122-3/+8
| |\ \ | | |/ | | | | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there). Use vsnprintf (more portable) in stead of _vsnprintf, except on MSVC
| | * Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-121-4/+6
| | | | | | | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there)
| * | Revise INST_EXPAND_STKTOP so that it no longer makes use of its operand.dgp2013-06-111-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.
* | | Extract more of the info from the bytecode.dkf2013-06-121-5/+60
| | |
* | | merge trunkdkf2013-06-117-138/+87
|\ \ \ | |/ /
| * | Select improvements in stack depth estimates brought over from mig-review.dgp2013-06-115-71/+17
| | | | | | | | | | | | | | | Mostly these are just simplifications, removing code that wasn't needed. Some changes make the stack depth estimate more accurate instruction by instruction.
| * | Repairs to compile/exec debugging output.dgp2013-06-112-8/+16
| | |
| * | Stack housekeeping repair for last checkin.dgp2013-06-111-0/+2
| | |
| * | [33b7abb8a2] [7174354ecb] Rewrite TclCompileThrowCmd().dgp2013-06-112-59/+52
| | |
* | | Code-readable disassembler: tcl::unsupported::getbytecodedkf2013-06-112-3/+232
| | |
* | | merge trunkdkf2013-06-112-5/+5
|\ \ \ | |/ /
| * | Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-112-5/+5
| |\ \ | | |/ | | | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
| | * Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-112-5/+5
| | | | | | | | | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
* | | Move the disassembler to its own file.dkf2013-06-118-1039/+1091
| | |
* | | merge trunkdkf_bytecode_optimizerdkf2013-06-094-172/+502
|\ \ \ | |/ /
| * | [779d38b996]: Make the 'try' compiler handle -during right and compile somedkf2013-06-093-171/+500
| |\ \ | | | | | | | | more cases than it did before.
| | * | Fix the problems with code generation; behavior now appears correct.dkf_better_try_compilationdkf2013-06-091-129/+204
| | | |
| | * | Improving tests, fixed one case.dkf2013-06-092-36/+181
| | | |
| | * | Working on a better compiler for [try]; found some bugs in previous compilationdkf2013-06-081-23/+123
| |/ / | | | | | | code which aren't resolved yet.
| * | More informative comment describing INST_SYNTAX.dkf2013-06-081-1/+2
| | |
* | | merge trunkdkf2013-06-085-216/+126
|\ \ \ | |/ /
| * | Factor out stereotypical ways of getting variable indices.dkf2013-06-083-160/+63
| | |
| * | Simplify stack depth management.dkf2013-06-071-31/+33
| | |
| * | More efficient instruction sequence for [dict for] with correct exception ↵dkf2013-06-062-23/+28
| | | | | | | | | | | | depth handling.
| * | 3614382 Fix stack management of compiled [dict for] by shifting limitsdgp2013-06-061-3/+4
| | | | | | | | | of the catch range.
| * | 3614360 Repair stack demands of optimized compiled [return LITERAL].dgp2013-06-061-0/+1
| | |
| * | Working on the optimizer.dkf2013-06-062-82/+223
| |\ \ | |/ / |/| |
* | | Minor grammar fix.dkf2013-06-061-3/+3
| | |
* | | Split the optimizer up. Remove the dreaded 'goto' from which doesn't need it.dkf2013-06-061-81/+127
| | |
* | | Added optimizing of jump-to-nop and jump-to-jump cases. Ta to AK for suggesting.dkf2013-06-051-57/+152
| | |
| * | Working on the optimizer, and finding a few bugs in bytecode generation.dkf2013-06-058-177/+298
| |\ \ | |/ / |/| |
* | | Added the optimizer...dkf2013-06-051-0/+287
| | |
* | | Corrected wrong information about instruction width that was causing an ↵dkf2013-06-051-1/+1
| | | | | | | | | | | | optimizer crash.
* | | merge fixesdkf2013-06-053-52/+50
|\ \ \
* | | | More cleaning up; factor out optimizer to new file. Some weird problems still.dkf2013-06-057-188/+26
| | | |
| | * | [Bugs 2835313, 3614226, 3614342]: Complete the construction of break/continuedgp2013-06-057-107/+265
| | |\ \ | | |/ / | |/| | | | | | compilers that get the stack cleanup right, even when there's expansion going on.
| * | | Repair TCL_COMPILE_DEBUG guardsbug_3614342dgp2013-06-051-5/+7
| | | |
| * | | Stack Depth fixups.dgp2013-06-052-12/+4
| | | |
| * | | [Bugs 2835313, 3614226]: Complete the construction of break/continue compilersdkf2013-06-057-90/+254
| |\ \ \ | |/ / / |/| / / | |/ / that get the stack cleanup right, even when there's expansion going on.
* | | merge trunkdkf_compile_improvementsdkf2013-06-058-41/+34
|\ \ \ | |/ /
| * | Eliminate NO_VIZ macro as current zlib uses HAVE_HIDDEN in stead.jan.nijtmans2013-06-046-31/+16
| | | | | | | | | One more last-moment fix for FreeBSD by Pietro Cerutti
| * | merge 8.5dgp2013-06-033-5/+5
| |\ \ | | |/
| | * merge 8.4dgp2013-06-033-5/+5
| | |\