[Webkit-unassigned] [Bug 145992] Strict Equality on objects should only check that one of the two sides is an object.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 19 18:42:42 PDT 2015


Keith Miller <keith_miller at apple.com> changed:

           What    |Removed                     |Added
 Attachment #255137|0                           |1
        is obsolete|                            |
 Attachment #255266|                            |review?, commit-queue?
              Flags|                            |

--- Comment #25 from Keith Miller <keith_miller at apple.com> ---
Created attachment 255266
  --> https://bugs.webkit.org/attachment.cgi?id=255266&action=review

Changed the way the optimization works to what it probably should have been from the beginning. Now as long as one of the two arguments is an object we can just type check that side and ignore the type of the other (other than checking the tag is a cell tag in the 32-bit case). We still could be smarter about how we pick the side if both are objects but until we hoist type checks out of loops it probably doesn't matter.

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/20150620/5842f788/attachment.html>

More information about the webkit-unassigned mailing list