Remove remaining poisoning code.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2019 07:50:04 +0000 (07:50 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2019 07:50:04 +0000 (07:50 +0000)
commit1f7cd6d948066999f6278bcafda907176ae9a8a5
treeafc95547a3673b15a934d333d4a05f9adbc01ef5
parente1c9a292470de73a94c2f3ee1d57c3214a2a3524
Remove remaining poisoning code.
https://bugs.webkit.org/show_bug.cgi?id=194138

Reviewed by Saam Barati.

Source/WTF:

This patch removes the instantiation of Poisoned variants of the various containers
but retains the ability of those containers to work with pointer traits.  This
allows us to use them with smart pointers in the future (just like we used to with
Poisoned values).  At minimum, this ability will be useful when we want to insert
an observer into the container storage type for debugging purposes, or to collect
statistics for profiling.

* WTF.xcodeproj/project.pbxproj:
* wtf/Bag.h:
* wtf/CMakeLists.txt:
* wtf/Platform.h:
* wtf/Poisoned.cpp: Removed.
* wtf/Poisoned.h: Removed.
* wtf/PoisonedUniquePtr.h: Removed.
* wtf/Ref.h:
* wtf/RefCountedArray.h:
* wtf/RefPtr.h:
* wtf/WTFAssertions.cpp:

Tools:

* TestWebKitAPI/CMakeLists.txt:
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WTF/Poisoned.cpp: Removed.
* TestWebKitAPI/Tests/WTF/PoisonedRef.cpp: Removed.
* TestWebKitAPI/Tests/WTF/PoisonedRefPtr.cpp: Removed.
* TestWebKitAPI/Tests/WTF/PoisonedUniquePtr.cpp: Removed.
* TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForNonTriviallyDestructibleArrays.cpp: Removed.
* TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForTriviallyDestructibleArrays.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21 files changed:
Source/WTF/ChangeLog
Source/WTF/WTF.xcodeproj/project.pbxproj
Source/WTF/wtf/Bag.h
Source/WTF/wtf/CMakeLists.txt
Source/WTF/wtf/Platform.h
Source/WTF/wtf/Poisoned.cpp [deleted file]
Source/WTF/wtf/Poisoned.h [deleted file]
Source/WTF/wtf/PoisonedUniquePtr.h [deleted file]
Source/WTF/wtf/Ref.h
Source/WTF/wtf/RefCountedArray.h
Source/WTF/wtf/RefPtr.h
Source/WTF/wtf/WTFAssertions.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/CMakeLists.txt
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
Tools/TestWebKitAPI/Tests/WTF/Poisoned.cpp [deleted file]
Tools/TestWebKitAPI/Tests/WTF/PoisonedRef.cpp [deleted file]
Tools/TestWebKitAPI/Tests/WTF/PoisonedRefPtr.cpp [deleted file]
Tools/TestWebKitAPI/Tests/WTF/PoisonedUniquePtr.cpp [deleted file]
Tools/TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForNonTriviallyDestructibleArrays.cpp [deleted file]
Tools/TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForTriviallyDestructibleArrays.cpp [deleted file]