[Webkit-unassigned] [Bug 200018] New: Sometimes we miss removable CheckInBounds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 22 15:54:51 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200018

            Bug ID: 200018
           Summary: Sometimes we miss removable CheckInBounds
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: justin_michaud at apple.com

In the following loop:
+function doTest(arr1) {
+    let sum = 0
+    for (let i=0; i<arr1.length; ++i) {
+        sum += arr1[i]
+    }
+    return sum
+}
+noInline(doTest);
+
+let arr1 = new Int32Array(1000)
+//let arr1 = new Array(1000)
+
+for (let i=0; i<1000; ++i) doTest(arr1)
we should not need to emit a checkInBounds, but we do.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190722/b8319f48/attachment-0001.html>


More information about the webkit-unassigned mailing list