[Webkit-unassigned] [Bug 147387] New: Overflow check elimination fails for a simple test case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 17:09:01 PDT 2015


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

            Bug ID: 147387
           Summary: Overflow check elimination fails for a simple test
                    case
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

The test case:

function foo(o) {
    var result = 0;
    for (var i = 0; i < 100; ++i) // ++i still has an overflow check in the emitted code
        result += o.f;
    return result;
}

noInline(foo);

var p = {f:42};
var o = Object.create(p);

for (var i = 0; i < 10000; ++i) {
    p.f = i;
    foo(o);
}

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


More information about the webkit-unassigned mailing list