Manifest of check-in
[6ea7c5be8b]
- * generic/tclExecute.c (INST_INVOKE, INST_EVAL, INST_PUSH_RESULT):
added a Tcl_ResetResult(interp) at each point where the interp's
result is pushed onto the stack, to avoid keeping an extra
reference that may cause costly Tcl_Obj duplication [Bug 781585]
Detected by Franco Violi, analyzed by Peter Spjuth and Donal
Fellows.
by
msofer on
2003-08-05 16:19:54.
B b6c336093538f12e8feb134f2c4fc53673d9e4b1
C \t*\sgeneric/tclExecute.c\s(INST_INVOKE,\sINST_EVAL,\sINST_PUSH_RESULT):\n\tadded\sa\sTcl_ResetResult(interp)\sat\seach\spoint\swhere\sthe\sinterp's\n\tresult\sis\spushed\sonto\sthe\sstack,\sto\savoid\skeeping\san\sextra\n\treference\sthat\smay\scause\scostly\sTcl_Obj\sduplication\s[Bug\s781585]\n\tDetected\sby\sFranco\sVioli,\sanalyzed\sby\sPeter\sSpjuth\sand\sDonal\n\tFellows.\n
D 2003-08-05T16:19:54
F ChangeLog bc4e3e12fbfe3a81bd7b0ade2566757bf5b1b419
F generic/tclExecute.c f01fd568d80ca0a96092355c29cc1240c4d90bb2
F tests/pkgMkIndex.test febb2ba8a4eae7e57f6a35eb542ff6b84820f4b6
P aab22ecdae4a3f390df9af8f11e4d084da693daf
U msofer
Z acdebc7eb7e48d0ae5318714b8c4807b