Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove extra scribblings not normally needed. Thanks to jdc for suggestion. | dkf | 2013-06-17 | 1 | -2/+2 |
| | |||||
* | Improved rendering of some opcode arguments and auxdata. | dkf | 2013-06-13 | 4 | -14/+150 |
| | |||||
* | merge trunk | dkf | 2013-06-13 | 9 | -31/+59 |
|\ | |||||
| * | Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. | jan.nijtmans | 2013-06-13 | 2 | -11/+11 |
| |\ | | | | | | | Fix some gcc warnings which become visible with -Wextra | ||||
| | * | Fix some gcc warnings which become visible with -Wextra | jan.nijtmans | 2013-06-13 | 2 | -28/+28 |
| | | | |||||
| | * | Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64 | jan.nijtmans | 2013-06-12 | 1 | -2/+2 |
| | | | |||||
| * | | Workaround for mingw-w64 (AMD64-only) bug: It appears that zdll.lib (as ↵ | jan.nijtmans | 2013-06-12 | 4 | -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.nijtmans | 2013-06-12 | 2 | -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.nijtmans | 2013-06-12 | 1 | -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. | 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. | ||||
* | | | Extract more of the info from the bytecode. | dkf | 2013-06-12 | 1 | -5/+60 |
| | | | |||||
* | | | merge trunk | dkf | 2013-06-11 | 7 | -138/+87 |
|\ \ \ | |/ / | |||||
| * | | Select improvements in stack depth estimates brought over from mig-review. | dgp | 2013-06-11 | 5 | -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. | dgp | 2013-06-11 | 2 | -8/+16 |
| | | | |||||
| * | | Stack housekeeping repair for last checkin. | dgp | 2013-06-11 | 1 | -0/+2 |
| | | | |||||
| * | | [33b7abb8a2] [7174354ecb] Rewrite TclCompileThrowCmd(). | dgp | 2013-06-11 | 2 | -59/+52 |
| | | | |||||
* | | | Code-readable disassembler: tcl::unsupported::getbytecode | dkf | 2013-06-11 | 2 | -3/+232 |
| | | | |||||
* | | | merge trunk | dkf | 2013-06-11 | 2 | -5/+5 |
|\ \ \ | |/ / | |||||
| * | | Improve compatibility detection for <time.h> and <sys/stat.h>: | jan.nijtmans | 2013-06-11 | 2 | -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.nijtmans | 2013-06-11 | 2 | -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. | dkf | 2013-06-11 | 8 | -1039/+1091 |
| | | | |||||
* | | | merge trunkdkf_bytecode_optimizer | dkf | 2013-06-09 | 4 | -172/+502 |
|\ \ \ | |/ / | |||||
| * | | [779d38b996]: Make the 'try' compiler handle -during right and compile some | dkf | 2013-06-09 | 3 | -171/+500 |
| |\ \ | | | | | | | | | more cases than it did before. | ||||
| | * | | Fix the problems with code generation; behavior now appears correct.dkf_better_try_compilation | dkf | 2013-06-09 | 1 | -129/+204 |
| | | | | |||||
| | * | | Improving tests, fixed one case. | dkf | 2013-06-09 | 2 | -36/+181 |
| | | | | |||||
| | * | | Working on a better compiler for [try]; found some bugs in previous compilation | dkf | 2013-06-08 | 1 | -23/+123 |
| |/ / | | | | | | | code which aren't resolved yet. | ||||
| * | | More informative comment describing INST_SYNTAX. | dkf | 2013-06-08 | 1 | -1/+2 |
| | | | |||||
* | | | merge trunk | dkf | 2013-06-08 | 5 | -216/+126 |
|\ \ \ | |/ / | |||||
| * | | Factor out stereotypical ways of getting variable indices. | dkf | 2013-06-08 | 3 | -160/+63 |
| | | | |||||
| * | | Simplify stack depth management. | dkf | 2013-06-07 | 1 | -31/+33 |
| | | | |||||
| * | | More efficient instruction sequence for [dict for] with correct exception ↵ | dkf | 2013-06-06 | 2 | -23/+28 |
| | | | | | | | | | | | | depth handling. | ||||
| * | | 3614382 Fix stack management of compiled [dict for] by shifting limits | dgp | 2013-06-06 | 1 | -3/+4 |
| | | | | | | | | | of the catch range. | ||||
| * | | 3614360 Repair stack demands of optimized compiled [return LITERAL]. | dgp | 2013-06-06 | 1 | -0/+1 |
| | | | |||||
| * | | Working on the optimizer. | dkf | 2013-06-06 | 2 | -82/+223 |
| |\ \ | |/ / |/| | | |||||
* | | | Minor grammar fix. | dkf | 2013-06-06 | 1 | -3/+3 |
| | | | |||||
* | | | Split the optimizer up. Remove the dreaded 'goto' from which doesn't need it. | dkf | 2013-06-06 | 1 | -81/+127 |
| | | | |||||
* | | | Added optimizing of jump-to-nop and jump-to-jump cases. Ta to AK for suggesting. | dkf | 2013-06-05 | 1 | -57/+152 |
| | | | |||||
| * | | Working on the optimizer, and finding a few bugs in bytecode generation. | dkf | 2013-06-05 | 8 | -177/+298 |
| |\ \ | |/ / |/| | | |||||
* | | | Added the optimizer... | dkf | 2013-06-05 | 1 | -0/+287 |
| | | | |||||
* | | | Corrected wrong information about instruction width that was causing an ↵ | dkf | 2013-06-05 | 1 | -1/+1 |
| | | | | | | | | | | | | optimizer crash. | ||||
* | | | merge fixes | dkf | 2013-06-05 | 3 | -52/+50 |
|\ \ \ | |||||
* | | | | More cleaning up; factor out optimizer to new file. Some weird problems still. | dkf | 2013-06-05 | 7 | -188/+26 |
| | | | | |||||
| | * | | [Bugs 2835313, 3614226, 3614342]: Complete the construction of break/continue | dgp | 2013-06-05 | 7 | -107/+265 |
| | |\ \ | | |/ / | |/| | | | | | | compilers that get the stack cleanup right, even when there's expansion going on. | ||||
| * | | | Repair TCL_COMPILE_DEBUG guardsbug_3614342 | dgp | 2013-06-05 | 1 | -5/+7 |
| | | | | |||||
| * | | | Stack Depth fixups. | dgp | 2013-06-05 | 2 | -12/+4 |
| | | | | |||||
| * | | | [Bugs 2835313, 3614226]: Complete the construction of break/continue compilers | dkf | 2013-06-05 | 7 | -90/+254 |
| |\ \ \ | |/ / / |/| / / | |/ / | that get the stack cleanup right, even when there's expansion going on. | ||||
* | | | merge trunkdkf_compile_improvements | dkf | 2013-06-05 | 8 | -41/+34 |
|\ \ \ | |/ / | |||||
| * | | Eliminate NO_VIZ macro as current zlib uses HAVE_HIDDEN in stead. | jan.nijtmans | 2013-06-04 | 6 | -31/+16 |
| | | | | | | | | | One more last-moment fix for FreeBSD by Pietro Cerutti | ||||
| * | | merge 8.5 | dgp | 2013-06-03 | 3 | -5/+5 |
| |\ \ | | |/ | |||||
| | * | merge 8.4 | dgp | 2013-06-03 | 3 | -5/+5 |
| | |\ |