From 0e60a60c3e9fd2fc3765aebea0fca9e05e23ac89 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 21 Mar 2010 14:08:46 +0000 Subject: [PATCH] Fixed an optimizer problem. git-svn-id: svn://svn.cc65.org/cc65/trunk@4632 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/codeopt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cc65/codeopt.c b/src/cc65/codeopt.c index aef563973..81201423f 100644 --- a/src/cc65/codeopt.c +++ b/src/cc65/codeopt.c @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 2001-2009 Ullrich von Bassewitz */ -/* Roemerstrasse 52 */ -/* D-70794 Filderstadt */ -/* EMail: uz@cc65.org */ +/* (C) 2001-2010, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -904,14 +904,14 @@ static unsigned OptPtrStore3 (CodeSeg* S) X = NewCodeEntry (OP65_TAY, AM65_IMP, 0, 0, L[4]->LI); CS_InsertEntry (S, X, I+15); - X = NewCodeEntry (OP65_LDA, L[8]->AM, L[8]->Arg, 0, L[8]->LI); + X = NewCodeEntry (OP65_LDA, L[9]->AM, L[9]->Arg, 0, L[9]->LI); CS_InsertEntry (S, X, I+16); Label = memcpy (xmalloc (Len-2), L[0]->Arg+2, Len-3); Label[Len-3] = '\0'; X = NewCodeEntry (OP65_STA, AM65_ABSY, Label, 0, L[11]->LI); CS_InsertEntry (S, X, I+17); - xfree (Label); + xfree (Label); /* Remove the old code */ CS_DelEntries (S, I, 12); -- 2.39.5