Skip to content
Tcl Source Code Artifact [857848cd8e]
Login

Artifact [857848cd8e]

Artifact 857848cd8ede04f7d5949ff65abc67fa19131fa3:

Manifest of check-in [857848cd8e] - Revise INST_EXPAND_STKTOP so that it no longer makes use of its operand. 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. by dgp on 2013-06-11 22:47:22.
B f7bd67736148e8b170a72b45906558ffd361de8d
C Revise\sINST_EXPAND_STKTOP\sso\sthat\sit\sno\slonger\smakes\suse\sof\sits\soperand.\nAll\sthe\sinformation\srequired\sto\sdo\sa\sproper\sexpansion\sof\sthe\sexec\sstack\nto\ssupport\sexpanded\scommand\sinvocation\sis\salready\spresent.\s\sThe\soperand\ndoesn't\sprovide\sany\sessential\sinformation.\s\sBy\signoring\sit,\swe\seliminate\nthe\srisk\sthat\sthe\scompiler\smight\sfill\sin\sthe\soperand\swith\sa\sbad\sstack\sdepth\nestimate\svalue.\s\sINST_EXPAND_STKTOP\sdoesn't\sneed\san\soperand,\sbut\sin\sorder\nto\ssupport\sloading\sof\sexisting\sbytecodes\swe\scannot\schange\sit\snow.\s\sThere's\nalso\sno\sneed\sto\schange\swhat\sthe\scompiler\stries\sto\splace\sin\sthe\soperand,\nthough\schanging\sit\sto\salways\sbe\szeros\swould\sbe\sacceptable\snow.
D 2013-06-11T22:47:22.862
F ChangeLog aa55caa8110a081cc12af215be18564edeb67a68
F changes 9c2d12043b31587b5152955c3e8080f16dc7403a
F doc/file.n aae46fe03a3d1e4d0b878a3898031ccfcabc8563
F doc/msgcat.n 127cd1e08b1c1843787e633a1eb5627c01f97d79
F generic/regguts.h 7563d07dde050d5628d1dd47dcd68f11b5cd43fa
F generic/tcl.h 3fef586d65b8012cd2c538653090fd4a1822e394
F generic/tclAssembly.c 32edf40f7ff3276c9628d801a5eddfc83de80d13
F generic/tclBasic.c 6be6e63834d7bb8498fa5dd928ffa6112bcd08b0
F generic/tclCmdIL.c 3b048cc488d2fa97119e94543da0043f6ca06501
F generic/tclCmdMZ.c 6fe58cb48131c3d32c68e88b8adae9082e4f086f
F generic/tclCompCmds.c bdb8b2789946fd9a2d9528449268848cfe45ace3
F generic/tclCompCmdsGR.c 0fb1e56998a414cf7e7101e3f9f2207b1a7b832f
F generic/tclCompCmdsSZ.c 474ec01cedb9a015eff02763ac5b728748ac04f0
F generic/tclCompExpr.c 7fa05cec580cdcc2725cae56f976de3a6f2e4c1a
F generic/tclCompile.c 5014f154678b9edb89a442184853889c679bd6e5
F generic/tclCompile.h 2bbb564b1c822e89624e69e7fe21803e4e14b110
F generic/tclExecute.c 95cfd6112ac752343ee15ac187c74b16e7b8ea8d
F generic/tclIOUtil.c 629fa75ce2133135f27784f3c8a18fbb4821cc69
F generic/tclInt.h 2acc1c01765fd65a401f8314406f532701573db9
F generic/tclOptimize.c df47843d2623b2c5e3111bcb182abbb12fde17c9
F generic/tclUtf.c 4f663c3e2e17cb54bea9ae5994ccbdad6e8d9a5b
F library/msgcat/msgcat.tcl 8c0ee32f512e52d80ad7efb1e3ec8bd86404fa19
F library/msgcat/pkgIndex.tcl 714bc325afbe896501947247196e6ce6014b15af
F library/platform/pkgIndex.tcl d7c03db19355a8edac24da3abc21ad8226e3ecb4
F tests/cmdIL.test 227aaaede4c16c8ec895c6d832a8886c87f6b3f6
F tests/compile.test 59213bc2d67c9b46c5ea58a6d5f0b3b37d872450
F tests/dict.test ce0016c0443f4422ee0557c2e580040910f579c2
F tests/error.test 7bc43ff6a354ad9a03cde7de9e2c2c8bf37fe0c2
F tests/for.test 076d4831717b055493f77828b0113175ce89aeb3
F tests/httpd fc7c2d0c35ea8aad113b68b9a85f883030bd04be
F unix/Makefile.in 796d73fb82fa446be9f88328c13f24a8d637fc0b
F unix/configure 869a8230847012ff48917b227a3fe33ca8695704 x
F unix/tcl.m4 e3ec71d4e695b885b7ceb8742d4458182b8908bf
F unix/tclConfig.h.in 31979887525d19fd62f81e5ea0b461c75aa22a05
F unix/tclUnixFCmd.c 21845bbe8b5ddf5f4395bc4e3182375c81c21d74
F win/Makefile.in 12946db5eeca09098299844dbfc57622a17b6c44
F win/configure ec3ff41fa833a2d96c31bdc9ff9653e2b73a2c45 x
F win/configure.in 2f68e08d386c590777ecf9dfd478de415208f31a
F win/makefile.bc 84bc5d3ed16ae5010de7196c87050e3a963a141c
F win/makefile.vc 65f3e7c68e20d983a323a897230966b7acd8d919
F win/tclWinPort.h 033fc7d070951fb1dd1a8f3e35353009148e42e6
F win/tclWinTime.c 3f1a769a85e49f3a5f4e6031e38239a65f7f2320
P c438852c5f20effc175ab1ce1d61464b6d8f5f7d
R 22964a32c296aae1c14dcb38fa43a8fa
U dgp
Z 0e4da3c1e7e96ef1304dd019c461c66c