1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Comments format fix.

This commit is contained in:
acqn 2021-03-01 15:26:51 +08:00 committed by Oliver Schmidt
parent 2aad72af90
commit 047d0f479b
3 changed files with 11 additions and 7 deletions

View File

@ -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);
}

View File

@ -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;
}

View File

@ -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 */