[Webkit-unassigned] [Bug 55554] Remove LOOSE_PASS_OWN_ARRAY_PTR from PassOwnArrayPtr.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 3 08:21:32 PST 2011


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #84517|review?                     |review+
               Flag|                            |




--- Comment #4 from Darin Adler <darin at apple.com>  2011-03-03 08:21:32 PST ---
(From update of attachment 84517)
View in context: https://bugs.webkit.org/attachment.cgi?id=84517&action=review

> Source/JavaScriptCore/runtime/JSGlobalObject.cpp:416
> +        setRegisters(registerFile.start(), PassOwnArrayPtr<Register>(), 0);

In the future I think we should make nullptr work for these cases. We can’t make 0 work without allowing arbitrary pointers, but we can make nullptr work, which is much more beautiful than this. Nothing to do with this patch, but I wanted Ryosuke to know.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list