D 2025-06-20T16:03:40.519
J icomment Should\sbe\sfixed.\r\n\r\nThe\sactual\sdeallocator\sis\sin\s`tclCompCmdsSZ.c`\s(it's\s`FreeJumptableInfo`)\sbut\sisn't\sitself\sinteresting,\sjust\sas\s`AllocJumptable`\sisn't\sinteresting.\sThe\sproblem\swas\sexactly\sthat\sit\swas\snot\sbeing\scalled\swhen\sthe\scompilation\senvironment\swas\sreset\safter\sa\sfailed\sassemble\s(which\swas\snecessary\sbecause\swithout\sthe\sreset\sI\swas\sgetting\scrashes\swith\ssomething\selse\sgoing\swonky;\sI\sforget\sexactly\swhat\sbut\sit\swas\shorrible).\sThe\sproblem\swas\sI'd\sgot\sthe\sreset\swrong;\sI\swasn't\sdeleting\sthe\sno-longer-desired\saux\sdata\sstructures\sduring\sthe\sreset\sprocess.\sMy\sfix\sadds\sthat\sin.\r\n\r\nI\sfound\sthe\sproblem\sby\sadding\s`printf()`\scalls\sinto\sthe\sjumptable\sallocator\sand\sdeallocator\sfunctions\sand\sgoing\sthrough\sthe\stests\sin\s`assemble.test`;\sthe\ssole\scharacteristic\sfactor\swas\sa\sfailure\sin\sthe\sassembly\sgeneration\safter\sthe\s(local)\ssuccess\sof\sthe\s`jumpTable`\sinstruction.\sIt\swas\sa\slittle\snoisy\smatching\sup\sallocation\saddresses.\sI\sthen\sremembered\sthat\sI'd\sdone\ssomething\swith\sresetting\sthe\scompilation\senvironment\s(which\s_isn't_\sowned\sby\sthe\s`assemble`\scommand)\son\serror.\r\n\r\n---\r\nAlso\snote\sthat\s`assemble`\sis\sspecial\sin\sneeding\sthis\sreset;\sother\scommands\suse\sa\sstrategy\sin\s`tclCompile.c`\sof\sfalling\sback\sto\stheir\sinterpreted\sversions,\sbut\s`assemble`\sbasically\sdoesn't\shave\sthat\soption.\sIt\scan\sonly\swork\sin\scompiled\smode.
J login dkf
J mimetype text/x-markdown
K c58729527114216540ced9f26d1e3afd602f9410
U dkf
Z 5b9d30f6a4c7d1cf237e65711f64e888