From cd358107d30db0bb03c6c813255086af9fde02c9 Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 25 Jul 2001 06:59:27 +0000 Subject: [PATCH] Free register info git-svn-id: svn://svn.cc65.org/cc65/trunk@818 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/coptind.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.5