Manifest of check-in
[e6953ba3cf]
- * generic/tcl.h (comments):
* generic/tclCmdIL.c:
* generic/tclCompile.c:
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclNamesp.c:
* generic/tclProc.c:
* generic/tclVar.c: First part of variable reform. Change Var
struct so that sizeof(Var)==sizeof(Tcl_Obj), and use the special
obj allocator for vars. The Var struct has been reduced from
(2ints+6ptrs) to (2ints+4ptrs).
*** COMPAT: breaks both binary and (trivially) source compat for
extensions that access the Var struct.
* generic/tclCompile.c (optimiser):
* generic/tclExecute.c: storing pointers to literals instead of
offsets into the literal table for INST_PUSH. This is currently
implemented using NASTY CASTS (ptr->TclPSizedInt->ptr) [not used
when VM_USE_PACKED]
*** REQUIRES CLEANING: use a union for opnd, instead of casting.
by
msofer on
2005-04-10 18:13:43.
B e718df4738cc76fc82f96401530067feaeee8299
C \t*\sgeneric/tcl.h\s(comments):\n\t*\sgeneric/tclCmdIL.c:\n\t*\sgeneric/tclCompile.c:\n\t*\sgeneric/tclExecute.c:\n\t*\sgeneric/tclInt.h:\n\t*\sgeneric/tclNamesp.c:\n\t*\sgeneric/tclProc.c:\n\t*\sgeneric/tclVar.c:\sFirst\spart\sof\svariable\sreform.\sChange\sVar\n\tstruct\sso\sthat\ssizeof(Var)==sizeof(Tcl_Obj),\sand\suse\sthe\sspecial\n\tobj\sallocator\sfor\svars.\sThe\sVar\sstruct\shas\sbeen\sreduced\sfrom\n\t(2ints+6ptrs)\sto\s(2ints+4ptrs).\n\n\t***\sCOMPAT:\sbreaks\sboth\sbinary\sand\s(trivially)\ssource\scompat\sfor\n\textensions\sthat\saccess\sthe\sVar\sstruct.\n\n\t*\sgeneric/tclCompile.c\s(optimiser):\n\t*\sgeneric/tclExecute.c:\sstoring\spointers\sto\sliterals\sinstead\sof\n\toffsets\sinto\sthe\sliteral\stable\sfor\sINST_PUSH.\sThis\sis\scurrently\n\timplemented\susing\sNASTY\sCASTS\s(ptr->TclPSizedInt->ptr)\s[not\sused\n\twhen\sVM_USE_PACKED]\n\t***\sREQUIRES\sCLEANING:\suse\sa\sunion\sfor\sopnd,\sinstead\sof\scasting.\n
D 2005-04-10T18:13:43
F ChangeLog 160c471193ad8189d449b63446189482bd76b284
F generic/tcl.h 91d9bea633cb5f3b5fd58e9f86085853b1654682
F generic/tclCmdIL.c 2d4cc34a935f37596e00f56e27aa5e9d43b3f6f1
F generic/tclCompile.c fd599cf8b605d2d3b1ec4f43627e8b33c99ba125
F generic/tclExecute.c e048f74c0a2ee31ef0000a03f3194eba5fe0cd61
F generic/tclInt.h 35249189486afcba00b96450e326383d05856599
F generic/tclListObj.c 80f1721d95fa3b679e0098f38fba47861ccdb197
F generic/tclNamesp.c 1fc7d45ac587de8e21c32db3231a7a22df7c3cb5
F generic/tclObj.c f1b6b913824a0f54702af8240464fa3f85388a03
F generic/tclProc.c 1e9b003bdb9634ef6ffcaa6dd53fb886b483e694
F generic/tclVar.c afe2bd5433ee01e93387e1de5bf4ba5c53a33d15
P 10451207eea2bdc0ff1548742ab408da541f6917
U msofer
Z 5f1e4163c3f514f61d77d88516065c29