comparison test/compiler/6700047/Test6700047.java @ 401:ee8f06bfb27c

6743188: incomplete fix for 6700047 C2 failed in idom_no_update Reviewed-by: rasbold, kvn
author never
date Fri, 03 Oct 2008 13:58:20 -0700
parents 020a0b730379
children c18cbe5936b8
comparison
equal deleted inserted replaced
400:cc80376deb0c 401:ee8f06bfb27c
27 * @summary C2 failed in idom_no_update 27 * @summary C2 failed in idom_no_update
28 * @run main Test6700047 28 * @run main Test6700047
29 */ 29 */
30 30
31 public class Test6700047 { 31 public class Test6700047 {
32 static byte[] dummy = new byte[256];
33
32 public static void main(String[] args) { 34 public static void main(String[] args) {
33 for (int i = 0; i < 100000; i++) { 35 for (int i = 0; i < 100000; i++) {
34 intToLeftPaddedAsciiBytes(); 36 intToLeftPaddedAsciiBytes();
35 } 37 }
36 } 38 }
51 } 53 }
52 } 54 }
53 if (offset > 0) { 55 if (offset > 0) {
54 for(int j = 0; j < offset; j++) { 56 for(int j = 0; j < offset; j++) {
55 result++; 57 result++;
58 dummy[i] = 0;
56 } 59 }
57 } 60 }
58 return result; 61 return result;
59 } 62 }
60 } 63 }