Revision 6b64b624

b/tcg/tcg.c
1245 1245
                do_not_remove_call:
1246 1246

  
1247 1247
                    /* output args are dead */
1248
                    dead_args = 0;
1248 1249
                    for(i = 0; i < nb_oargs; i++) {
1249 1250
                        arg = args[i];
1251
                        if (dead_temps[arg]) {
1252
                            dead_args |= (1 << i);
1253
                        }
1250 1254
                        dead_temps[arg] = 1;
1251 1255
                    }
1252 1256
                    
......
1256 1260
                    }
1257 1261

  
1258 1262
                    /* input args are live */
1259
                    dead_args = 0;
1260 1263
                    for(i = nb_oargs; i < nb_iargs + nb_oargs; i++) {
1261 1264
                        arg = args[i];
1262 1265
                        if (arg != TCG_CALL_DUMMY_ARG) {
......
1313 1316
            do_not_remove:
1314 1317

  
1315 1318
                /* output args are dead */
1319
                dead_args = 0;
1316 1320
                for(i = 0; i < nb_oargs; i++) {
1317 1321
                    arg = args[i];
1322
                    if (dead_temps[arg]) {
1323
                        dead_args |= (1 << i);
1324
                    }
1318 1325
                    dead_temps[arg] = 1;
1319 1326
                }
1320 1327

  
......
1327 1334
                }
1328 1335

  
1329 1336
                /* input args are live */
1330
                dead_args = 0;
1331 1337
                for(i = nb_oargs; i < nb_oargs + nb_iargs; i++) {
1332 1338
                    arg = args[i];
1333 1339
                    if (dead_temps[arg]) {

Also available in: Unified diff