Assume allocator success in Vector unless using try* functions.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 21:40:20 +0000 (21:40 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 21:40:20 +0000 (21:40 +0000)
commit04e115051ce08c95d6ada8a29065b44a196e9edb
treebd8a005c07dd61127804ba0752a2b02a67b601a8
parentf90eefa423a0726ab25413532f793cbc5bf1a971
Assume allocator success in Vector unless using try* functions.
<https://webkit.org/b/121629>

Reviewed by Anders Carlsson.

Turn some Vector::begin() null checking into assertions instead.

We have try* style functions for when an allocation request is so
large that it might actually fail. fastMalloc() will never return
null (it will just CRASH() instead.)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/Vector.h