Small optimization

git-svn-id: svn://svn.cc65.org/cc65/trunk@3312 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-11-28 18:10:47 +00:00
parent 928acfee6c
commit 163c4e2fc8

View File

@@ -71,12 +71,12 @@ static const unsigned char Bits[8] = {
/*****************************************************************************/ /*****************************************************************************/
/* Character sets */ /* Character sets */
/*****************************************************************************/ /*****************************************************************************/
static void AddCharToSet (unsigned char C) static void __fastcall__ AddCharToSet (unsigned char C)
/* Set the given bit in the character set */ /* Set the given bit in the character set */
{ {
asm ("ldy #%o", C); asm ("ldy #%o", C);
@@ -95,7 +95,7 @@ static void AddCharToSet (unsigned char C)
static unsigned char IsCharInSet (unsigned char C) static unsigned char __fastcall__ IsCharInSet (unsigned char C)
/* Check if the given char is part of the character set */ /* Check if the given char is part of the character set */
{ {
asm ("ldy #%o", C); asm ("ldy #%o", C);