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

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3096 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-06-05 11:50:04 +00:00
parent 104ae3a54f
commit 3a0edbff75

View File

@ -1016,6 +1016,9 @@ static void StdFunc_strlen (FuncDesc* F attribute ((unused)), ExprDesc* Expr)
*/
} else if (CodeSizeFactor > 400 && IS_Get (&InlineStdFuncs)) {
/* Load the expression into the primary */
ExprLoad (CF_NONE, &Arg);
/* Inline the function */
L = GetLocalLabel ();
AddCodeLine ("sta ptr1");