From: Armin R. <ar...@us...> - 2002-02-11 14:27:28
|
Update of /cvsroot/psyco/psyco/c/Python In directory usw-pr-cvs1:/tmp/cvs-serv30652 Modified Files: pycompiler.c Log Message: one more fix Index: pycompiler.c =================================================================== RCS file: /cvsroot/psyco/psyco/c/Python/pycompiler.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** pycompiler.c 10 Feb 2002 23:00:58 -0000 1.13 --- pycompiler.c 11 Feb 2002 14:27:24 -0000 1.14 *************** *** 816,820 **** cg->varname = key; cg->previousvalue = result; Py_INCREF(result); - cg->originalmacrocode = po1->code; SHRINK_CODE_BUFFER(onchangebuf, (code_t*)(cg+1) - onchangebuf->codeptr, --- 816,819 ---- *************** *** 826,829 **** --- 825,830 ---- object is still in place in the dictionary */ code = po->code; + NEED_CC(); + cg->originalmacrocode = code; DICT_ITEM_IFCHANGED(code, globals, index, key, result, onchangebuf->codeptr); |