diff mc-codegen.c @ 339:375d21a2b845

emit_data
author kono
date Fri, 25 Jun 2004 21:28:01 +0900
parents 7fe7ce0a791f
children 0150de6a3244
line wrap: on
line diff
--- a/mc-codegen.c	Fri Jun 25 14:30:43 2004 +0900
+++ b/mc-codegen.c	Fri Jun 25 21:28:01 2004 +0900
@@ -3231,10 +3231,9 @@
     int n,e4;
     int type  = cadr(t);
     /*  e2 = e3 */
-if (car(e2)==BIT_FIELD) {
-    printf("# bit_field_bug\n");
-    e2 = cadr(e2);
-}
+    if (car(e2)==BIT_FIELD) {
+	e2 = cadr(e2);
+    }
     if (car(e2)==LREGISTER||car(e2)==REGISTER||car(e2)==LVAR||car(e2)==GVAR) {
 	e4 = rvalue_t(e2,type);
 	g_expr(assign_expr0(e2, list4(BFD_REPL,e4,e3,t), type,type));
@@ -3287,10 +3286,9 @@
     n1 = list2(LVAR,new_lvar(size(type)));
     if (post) n2 = list2(LVAR,new_lvar(size(type)));
     /*  e2 = e3 */
-if (car(e2)==BIT_FIELD) {
-    printf("# bit_field_bug\n");
-    e2 = cadr(e2);
-}
+    if (car(e2)==BIT_FIELD) {
+	e2 = cadr(e2);
+    }
     if (!(car(e2)==LREGISTER||car(e2)==REGISTER||car(e2)==LVAR||car(e2)==GVAR)) {
 	adr = list2(LVAR,new_lvar(size(type)));
 	g_expr_u(assign_expr0(adr,list2(ADDRESS,cadr(e2)),INT,INT));