Use register variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@1646 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -305,7 +305,7 @@ BreakPoint* DbgIsBreak (unsigned Addr);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void DrawFrame (FrameDesc* F, char Active)
|
static void DrawFrame (register FrameDesc* F, char Active)
|
||||||
/* Draw one window frame */
|
/* Draw one window frame */
|
||||||
{
|
{
|
||||||
TextDesc* T;
|
TextDesc* T;
|
||||||
@@ -386,7 +386,7 @@ static void ActivateFrame (int Num, unsigned char Clear)
|
|||||||
/* Activate a new frame, deactivate the old one */
|
/* Activate a new frame, deactivate the old one */
|
||||||
{
|
{
|
||||||
unsigned char y;
|
unsigned char y;
|
||||||
FrameDesc* F;
|
register FrameDesc* F;
|
||||||
|
|
||||||
if (ActiveFrame != Num) {
|
if (ActiveFrame != Num) {
|
||||||
|
|
||||||
@@ -621,7 +621,7 @@ static void DbgSetTmpBreak (unsigned Addr)
|
|||||||
static void DbgToggleUserBreak (unsigned Addr)
|
static void DbgToggleUserBreak (unsigned Addr)
|
||||||
/* Set a breakpoint */
|
/* Set a breakpoint */
|
||||||
{
|
{
|
||||||
BreakPoint* B = DbgIsBreak (Addr);
|
register BreakPoint* B = DbgIsBreak (Addr);
|
||||||
|
|
||||||
if (B) {
|
if (B) {
|
||||||
/* We have a breakpoint, remove it */
|
/* We have a breakpoint, remove it */
|
||||||
@@ -1500,3 +1500,4 @@ void DbgEntry (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user