mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Comments format fix.
This commit is contained in:
parent
2aad72af90
commit
047d0f479b
@ -2822,7 +2822,8 @@ void g_div (unsigned flags, unsigned long val)
|
||||
}
|
||||
|
||||
/* Negate the result as long as val < 0, even if val == -1 and no
|
||||
** shift was generated. */
|
||||
** shift was generated.
|
||||
*/
|
||||
if (Negation) {
|
||||
g_neg (flags);
|
||||
}
|
||||
|
@ -356,8 +356,9 @@ static int Affected (LoadRegInfo* LRI, const CodeEntry* E)
|
||||
}
|
||||
|
||||
if ((LRI->Flags & LI_CHECK_Y) != 0) {
|
||||
/* If we don't know what memory location could have been used by Y,
|
||||
** we just assume all. */
|
||||
/* If we don't know what memory location could have been
|
||||
** used by Y, we just assume all.
|
||||
*/
|
||||
if (YE == 0 ||
|
||||
(YE->ArgOff == E->ArgOff && strcmp (YE->ArgBase, E->ArgBase) == 0)) {
|
||||
|
||||
@ -375,8 +376,9 @@ static int Affected (LoadRegInfo* LRI, const CodeEntry* E)
|
||||
/* Otherwise unaffected */
|
||||
goto L_Result;
|
||||
}
|
||||
/* We could've check further for more cases where the load target isn't
|
||||
** modified, but for now let's save the trouble and just play it safe.
|
||||
/* We could've check further for more cases where the load target
|
||||
** isn't modified, but for now let's save the trouble and just play
|
||||
** it safe.
|
||||
*/
|
||||
goto L_Affected;
|
||||
}
|
||||
|
@ -755,8 +755,9 @@ unsigned SizeOf (const Type* T)
|
||||
return T->A.U;
|
||||
|
||||
/* Beware: There's a chance that this triggers problems in other parts
|
||||
of the compiler. The solution is to fix the callers, because calling
|
||||
SizeOf() with a function type as argument is bad. */
|
||||
** of the compiler. The solution is to fix the callers, because calling
|
||||
** SizeOf() with a function type as argument is bad.
|
||||
*/
|
||||
case T_FUNC:
|
||||
return 0; /* Size of function is unknown */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user