diff mc-code-powerpc.c @ 456:b8f95294eb77

inline continue... if test passed.
author kono
date Wed, 01 Dec 2004 19:32:34 +0900
parents 1e5ca85d3f97
children 0bc9f3273aa7
line wrap: on
line diff
--- a/mc-code-powerpc.c	Tue Nov 30 16:46:55 2004 +0900
+++ b/mc-code-powerpc.c	Wed Dec 01 19:32:34 2004 +0900
@@ -903,7 +903,6 @@
     int i,j;
 #endif
 #define USAGE_MAX 4
-    if (chk) return;
     if (!lsrc) return;
     printf("# %d: %s:",lineno,s);
     if (ireg) printf(" creg=%s",register_name(ireg));
@@ -1777,9 +1776,10 @@
 not_simple_p(int e3)
 {
     switch (e3) {
-    case FUNCTION: case CONV: case LCALL: case STASS:  
+	case FUNCTION: case CONV: case LCALL: case STASS:  
 	case LLSHIFT: case LULSHIFT: case LRSHIFT: case LURSHIFT: 
 	case LDIV: case LUDIV: case LMOD: case LUMOD: case LASSOP: case ALLOCA:
+	case INLINE:
     return 1;
     }
     return 0;
@@ -2599,7 +2599,6 @@
 {
     int reg,regsv;
     /* used in dosiwtch() */
-    if(chk) return;
     inc_cmpflag();
     if (-32767<e&&e<32767) {
 	printf("\tcmpwi cr%d,%s,%d\n",cmpflag,register_name(csreg),e);
@@ -2695,7 +2694,6 @@
 static void
 jcond(int l, char cond)
 {       
-    if (chk) return;
     if (cond==LT) {
 	printf("\tb%s cr%d,L_%d\n",code_ge(0),cmpflag,l);
     } else if (cond==1||cond==0) {
@@ -2706,14 +2704,12 @@
 void
 jmp(int l)
 {       
-    if (chk) return;
     printf("\tb\tL_%d\n",l);
 }
 
 extern void
-gen_comment(char *s)
+code_comment(char *s)
 {
-    if (chk) return;
     printf("## %s",s);
 }
 
@@ -3088,7 +3084,6 @@
 #ifdef DOT_SIZE
     int lb;
 #endif
-    if (chk) return;
     if (mode==GDECL) {
 	data_mode(0);
 #ifdef DOT_SIZE