mirror of
https://github.com/cc65/cc65.git
synced 2025-01-15 22:30:04 +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 ();
|
||||
}
|
||||
|
||||
/* Setup the stack */
|
||||
oursp = 0;
|
||||
|
||||
/* Walk through the parameter list and allocate register variable space
|
||||
* for parameters declared as register. Generate code to swap the contents
|
||||
* of the register bank with the save area on the stack.
|
||||
@ -426,9 +429,6 @@ void NewFunc (SymEntry* Func)
|
||||
Param = Param->NextSym;
|
||||
}
|
||||
|
||||
/* Setup the stack */
|
||||
oursp = 0;
|
||||
|
||||
/* Need a starting curly brace */
|
||||
ConsumeLCurly ();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user