mirror of
https://github.com/cc65/cc65.git
synced 2025-01-27 09:33:42 +00:00
Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1684 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ef166c1fa8
commit
086d80e8c4
@ -395,6 +395,9 @@ void NewFunc (SymEntry* Func)
|
|||||||
g_stackcheck ();
|
g_stackcheck ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Setup the stack */
|
||||||
|
oursp = 0;
|
||||||
|
|
||||||
/* Walk through the parameter list and allocate register variable space
|
/* Walk through the parameter list and allocate register variable space
|
||||||
* for parameters declared as register. Generate code to swap the contents
|
* for parameters declared as register. Generate code to swap the contents
|
||||||
* of the register bank with the save area on the stack.
|
* of the register bank with the save area on the stack.
|
||||||
@ -426,9 +429,6 @@ void NewFunc (SymEntry* Func)
|
|||||||
Param = Param->NextSym;
|
Param = Param->NextSym;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Setup the stack */
|
|
||||||
oursp = 0;
|
|
||||||
|
|
||||||
/* Need a starting curly brace */
|
/* Need a starting curly brace */
|
||||||
ConsumeLCurly ();
|
ConsumeLCurly ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user