From ef30bb3398f4bd78613e2b57ecffdc09779ee79e Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 26 Jul 1995 08:44:35 +0000 Subject: [PATCH] Fix by Charles Lindsey: still used reg vars, despite ms_gto --- mach/sparc/ce/ce.src/ms_reg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mach/sparc/ce/ce.src/ms_reg.c b/mach/sparc/ce/ce.src/ms_reg.c index 53bdc3311..271388995 100644 --- a/mach/sparc/ce/ce.src/ms_reg.c +++ b/mach/sparc/ce/ce.src/ms_reg.c @@ -263,8 +263,11 @@ int ms; reg_mes_nr = 0; in_reg_mes = (ms == ms_reg); - if (ms == ms_gto) + if (ms == ms_gto) { + free_all_reg_vars(); + nr_reg_vars = 0; nr_flt_vars = 0; fprint(codefile, "ta 3\n"); + } db_mes = (ms == ms_stb || ms == ms_std) ? ms : 0; #ifdef __solaris__ if (db_mes && ! inits) {