1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-29 16:47:15 +00:00

Move one of the global static variables used for frame layout computation

to a local variable in m88k_layout_frame(), it's not used anywhere else.
This commit is contained in:
miod
2025-08-08 20:11:34 +00:00
parent d4bae6031f
commit 866fc56016

View File

@@ -1310,7 +1310,6 @@ static int nregs;
static int nxregs;
static char save_regs[FIRST_PSEUDO_REGISTER];
static int frame_laid_out;
static int frame_size;
#define STACK_UNIT_BOUNDARY (STACK_BOUNDARY / BITS_PER_UNIT)
#define ROUND_CALL_BLOCK_SIZE(BYTES) \
@@ -1323,7 +1322,7 @@ static int frame_size;
void
m88k_layout_frame ()
{
int regno, sp_size;
int regno, sp_size, frame_size;
if (frame_laid_out && reload_completed)
return;