summaryrefslogtreecommitdiff
path: root/test/586-checker-null-array-get/src/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/586-checker-null-array-get/src/Main.java')
-rw-r--r--test/586-checker-null-array-get/src/Main.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/586-checker-null-array-get/src/Main.java b/test/586-checker-null-array-get/src/Main.java
index de9429fd8b..ebe91cfe1e 100644
--- a/test/586-checker-null-array-get/src/Main.java
+++ b/test/586-checker-null-array-get/src/Main.java
@@ -107,9 +107,8 @@ public class Main {
/// CHECK-DAG: <<GetJ3:j\d+>> ArrayGet [<<CheckJ>>,{{i\d+}}]
public static void bar() {
// We create multiple accesses that will lead the bounds check
- // elimination pass to add a HDeoptimize. Not having the bounds check helped
- // the load store elimination think it could merge two ArrayGet with different
- // types.
+ // elimination pass to add a HDeoptimize. Not having the bounds check
+ // makes the ArrayGets look almost the same if it were not for the type!
String[] array = (String[])getNull();
objectField = array[0];
objectField = array[1];