From: cuz Date: Wed, 25 Jul 2001 06:59:27 +0000 (+0000) Subject: Free register info X-Git-Tag: V2.12.0~2758 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd358107d30db0bb03c6c813255086af9fde02c9;p=cc65 Free register info git-svn-id: svn://svn.cc65.org/cc65/trunk@818 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/coptind.c b/src/cc65/coptind.c index 36ca5b3d7..6f62325b5 100644 --- a/src/cc65/coptind.c +++ b/src/cc65/coptind.c @@ -719,7 +719,7 @@ unsigned OptDuplicateLoads (CodeSeg* S) E->AM != AM65_ZPY) { /* Use the A register instead */ CE_ReplaceOPC (E, OP65_STA); - } + } break; case OP65_STY: @@ -804,6 +804,9 @@ unsigned OptDuplicateLoads (CodeSeg* S) } + /* Free register info */ + CS_FreeRegInfo (S); + /* Return the number of changes made */ return Changes; }