Manifest of check-in
[43125b50d9]
- * tests/assemble.test: Added more "white box" tests.
* generic/tclAssembly.c: Added the error checking and reporting
for undefined labels. Revised code so that no pointers into the
bytecode sequence are held (because the sequence can move!),
that no Tcl_HashEntry pointers are held (because the hash table
doesn't guarantee their stability!) and to eliminate the BBHash
table, which is merely additional information indexed by jump
labels and can just as easily be held in the 'label' structure.
Renamed shared structures to CamelCase, and renamed 'label' to
JumpLabel because other types of labels may eventually be possible.
by
kennykb on
2010-09-28 02:11:19.
B f7578626628dd6f2366e72f6cbf09df9d9354caa
C *\stests/assemble.test:\sAdded\smore\s"white\sbox"\stests.\n*\sgeneric/tclAssembly.c:\sAdded\sthe\serror\schecking\sand\sreporting\nfor\sundefined\slabels.\sRevised\scode\sso\sthat\sno\spointers\sinto\sthe\nbytecode\ssequence\sare\sheld\s(because\sthe\ssequence\scan\smove!),\nthat\sno\sTcl_HashEntry\spointers\sare\sheld\s(because\sthe\shash\stable\ndoesn't\sguarantee\stheir\sstability!)\sand\sto\seliminate\sthe\sBBHash\ntable,\swhich\sis\smerely\sadditional\sinformation\sindexed\sby\sjump\nlabels\sand\scan\sjust\sas\seasily\sbe\sheld\sin\sthe\s'label'\sstructure.\nRenamed\sshared\sstructures\sto\sCamelCase,\sand\srenamed\s'label'\sto\nJumpLabel\sbecause\sother\stypes\sof\slabels\smay\seventually\sbe\spossible.\n
D 2010-09-28T02:11:19
F ChangeLog 504f83ce53010ad007c8c7c760a1e94ab3f432e8
F generic/tclAssembly.c d809e0f1d63ccef4045c55bf68020e0aa2f682bb
F generic/tclAssembly.h 2150a4633cde7631e03fedcac0b45040e1a78ae7
F tests/assemble.test b15fc51ef189b84b23f7359cd77f18533ebdad87
P f7578626628dd6f2366e72f6cbf09df9d9354caa
U kennykb
Z dc583f2000536e00bc7615882efb5688