Assume numeric subroutines use anything and change anything.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2801 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -312,11 +312,12 @@ void GetFuncInfo (const char* Name, unsigned short* Use, unsigned short* Chg)
|
|||||||
|
|
||||||
} else if (IsDigit (Name[0]) || Name[0] == '$') {
|
} else if (IsDigit (Name[0]) || Name[0] == '$') {
|
||||||
|
|
||||||
/* A call to a numeric address. Assume that all CPU registers get
|
/* A call to a numeric address. Assume that anything gets used and
|
||||||
* used, but no memory contents are changed.
|
* destroyed. This is not a real problem, since numeric addresses
|
||||||
|
* are used mostly in inline assembly anyway.
|
||||||
*/
|
*/
|
||||||
*Use = REG_AXY;
|
*Use = REG_ALL;
|
||||||
*Chg = REG_AXY;
|
*Chg = REG_ALL;
|
||||||
return;
|
return;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user