[Webkit-unassigned] [Bug 143532] New: DFG::IntegerCheckCombiningPhase's wrap-around check shouldn't trigger C++ undef behavior on wrap-around

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 8 12:48:06 PDT 2015


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

            Bug ID: 143532
           Summary: DFG::IntegerCheckCombiningPhase's wrap-around check
                    shouldn't trigger C++ undef behavior on wrap-around
    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

Oh the irony!  We were protecting an optimization that only worked if there was no wrap-around in JavaScript.  But the C++ code had wrap-around, which is undef in C++.  So, if the compiler was smart enough, our compiler would think that there never was wrap-around.

-- 
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/20150408/e57621e8/attachment.html>


More information about the webkit-unassigned mailing list