1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Christian Groessler 2013-06-13 22:59:14 +02:00
commit 3ae6a8514d
2 changed files with 3 additions and 3 deletions

View File

@ -412,7 +412,7 @@ int CE_IsKnownImm (const CodeEntry* E, unsigned long Num)
int CE_UseLoadFlags (const CodeEntry* E)
int CE_UseLoadFlags (CodeEntry* E)
/* Return true if the instruction uses any flags that are set by a load of
* a register (N and Z).
*/
@ -427,7 +427,7 @@ int CE_UseLoadFlags (const CodeEntry* E)
while (E->Info & OF_UBRA) {
/* Remember the entry so we can detect loops */
CollAppend (&C, (void*) E);
CollAppend (&C, E);
/* Check the target */
if (E->JumpTo == 0 || CollIndex (&C, E->JumpTo->Owner) >= 0) {

View File

@ -219,7 +219,7 @@ INLINE int CE_IsCallTo (const CodeEntry* E, const char* Name)
# define CE_IsCallTo(E, Name) ((E)->OPC == OP65_JSR && strcmp ((E)->Arg, (Name)) == 0)
#endif
int CE_UseLoadFlags (const CodeEntry* E);
int CE_UseLoadFlags (CodeEntry* E);
/* Return true if the instruction uses any flags that are set by a load of
* a register (N and Z).
*/