Follows 63d9fc39abaa, fix several gcc4.9.3 compilation warnings

Wed, 12 Sep 2018 13:52:38 +0800

author
fujie
date
Wed, 12 Sep 2018 13:52:38 +0800
changeset 9242
133e3e9881b9
parent 9241
8a50f14def19
child 9243
775494606e2d

Follows 63d9fc39abaa, fix several gcc4.9.3 compilation warnings

src/cpu/mips/vm/macroAssembler_mips.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/mips/vm/macroAssembler_mips.cpp	Wed Sep 12 13:37:58 2018 +0800
     1.2 +++ b/src/cpu/mips/vm/macroAssembler_mips.cpp	Wed Sep 12 13:52:38 2018 +0800
     1.3 @@ -2222,8 +2222,9 @@
     1.4      guarantee(false, "Not supported yet !");
     1.5    }
     1.6  
     1.7 -  for (count; count < 4; count++) {
     1.8 +  while (count < 4) {
     1.9      nop();
    1.10 +    count++;
    1.11    }
    1.12  }
    1.13  
    1.14 @@ -2260,8 +2261,9 @@
    1.15      guarantee(false, "Not supported yet !");
    1.16    }
    1.17  
    1.18 -  for (count; count < 3; count++) {
    1.19 +  while (count < 3) {
    1.20      nop();
    1.21 +    count++;
    1.22    }
    1.23  }
    1.24  
    1.25 @@ -2290,8 +2292,9 @@
    1.26      guarantee(false, "Not supported yet !");
    1.27    }
    1.28  
    1.29 -  for (count; count < 2; count++) {
    1.30 +  while (count < 2) {
    1.31      nop();
    1.32 +    count++;
    1.33    }
    1.34  }
    1.35  

mercurial