From 6a4dc794a2e38aa59c0604970a2f05d3c8bd65f0 Mon Sep 17 00:00:00 2001 From: sater Date: Tue, 20 Nov 1984 16:56:26 +0000 Subject: [PATCH] In the RREMOVE section of this file, the field e_con of the expression union was used in stead of e_reg. Fixed. Checked all other occurrances, are correct. --- mach/proto/cg/codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mach/proto/cg/codegen.c b/mach/proto/cg/codegen.c index 8c4fb6f0d..2619f856b 100644 --- a/mach/proto/cg/codegen.c +++ b/mach/proto/cg/codegen.c @@ -402,13 +402,13 @@ if (Debug) assert(result.e_typ==EV_REG); for (tp= &fakestack[stackheight-tokpatlen-1];tp>=&fakestack[0];tp--) if (tp->t_token==-1) { - if(tp->t_att[0].ar==result.e_v.e_con) + if(tp->t_att[0].ar==result.e_v.e_reg) goto gotone; } else { tdp = &tokens[tp->t_token]; for(i=0;it_type[i]==EV_REG && - tp->t_att[i].ar==result.e_v.e_con) + tp->t_att[i].ar==result.e_v.e_reg) goto gotone; } break; -- 2.34.1