Fix the libc++ build.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Feb 2012 21:30:58 +0000 (21:30 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Feb 2012 21:30:58 +0000 (21:30 +0000)
commit9b104a81ddda4bcafa59a1b029712df5117e9ec2
treef69f6d206a8984a1abbf920f71dd98f0b7e5ccd4
parent48521e932667744074ba18173fc9806993ecd1fb
Fix the libc++ build.

Reviewed by Anders Carlsson.

* heap/Weak.h:
Libc++'s nullptr emulation does not allow default construction
of the nullptr_t type. Work around this with the arguably clearer
just returning nullptr.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/heap/Weak.h