diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2002-06-13 19:47:57 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2002-06-13 19:47:57 (GMT) |
commit | b2df30e5adb45bbbbdd44e958348149397eaa2d0 (patch) | |
tree | 8cfdc93aae1c6480fa1294c2d765c12c2e2a5e3c /ChangeLog | |
parent | bb8e30079bb427d90dc44175fea4fe66ccc9d4d7 (diff) | |
download | tcl-b2df30e5adb45bbbbdd44e958348149397eaa2d0.zip tcl-b2df30e5adb45bbbbdd44e958348149397eaa2d0.tar.gz tcl-b2df30e5adb45bbbbdd44e958348149397eaa2d0.tar.bz2 |
consolidated opcodes in the bytecode engine, eliminating duplicated
code. Added the new (but pre-existent in tcl.h) possible flag bit
TCL_TRACE_READS to Tcl_(Obj)?SetVar.*
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +2002-06-13 Miguel Sofer <msofer@users.sourceforge.net> + + * generic/tclExecute.c (TclExecuteByteCode): consolidated variable + handling opcodes, replaced redundant code with some 'goto'. All + store/append/lappend opcodes on the same data type now share the + main code; same with incr opcodes. + * generic/tclVar.c: added the bit TCL_TRACE_READS to the possible + flags to Tcl_SetVar2Ex - it causes read traces to be fired prior + to setting the variable. This is used in the core for [lappend]. + + ***NOTE*** the usage of TCL_TRACE_READS in Tcl_(Obj)?GetVar.* is + not documented; there, it causes the call to create the variable + if it does not exist. The new usage in Tcl_(Obj)?SetVar.* remains + undocumented too ... + 2002-06-13 Vince Darley <vincentdarley@users.sourceforge.net> * tests/fCmd.test: |