mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Free register info
git-svn-id: svn://svn.cc65.org/cc65/trunk@818 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
8cd7b15c8b
commit
cd358107d3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user