changeset 22:3fa41d00f658

*** empty log message ***
author kono
date Mon, 03 Feb 2003 23:43:12 +0900
parents f9f789aa7587
children e605560e6146
files mc-nop-386.c
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mc-nop-386.c	Mon Feb 03 23:11:21 2003 +0900
+++ b/mc-nop-386.c	Mon Feb 03 23:43:12 2003 +0900
@@ -388,7 +388,7 @@
 void
 g_expr(int e1)
 {
-    int e2,e3,e4;
+    int e2,e3/*,e4*/;
     char *xrn;
     NMTBL *n;
 
@@ -543,12 +543,16 @@
     case COND:
 	e2=fwdlabel();
 	b_expr(cadr(e1),0,e2);
+	use_register(creg,REG_EAX,0);
 	g_expr(caddr(e1));
-	e4 = rname[creg];
+	/* e4 = rname[creg]; this is a bad idea */
+	use_register(creg,REG_EAX,1);
 	jmp(e3=fwdlabel());
 	fwddef(e2);
+	use_register(creg,REG_EAX,0);
 	g_expr(cadddr(e1));
-	use_register(creg,e4,1);
+	/* use_register(creg,e4,1); */
+	use_register(creg,REG_EAX,1);
 	fwddef(e3);
 	return;
     case SASS: