Reverts commit r301424, r301425 and r301426

Commits were:

"Use WeakVH instead of WeakTrackingVH in AliasSetTracker's UnkownInsts"
"Add a new WeakVH value handle; NFC"
"Rename WeakVH to WeakTrackingVH; NFC"

The changes assumed pointers are 8 byte aligned on all architectures.

llvm-svn: 301429
This commit is contained in:
Sanjoy Das
2017-04-26 16:37:05 +00:00
parent 9eed0bee3d
commit 2cbeb00f38
40 changed files with 207 additions and 276 deletions

View File

@@ -58,7 +58,7 @@ void BitcodeReaderValueList::assignValue(Value *V, unsigned Idx) {
if (Idx >= size())
resize(Idx + 1);
WeakTrackingVH &OldV = ValuePtrs[Idx];
WeakVH &OldV = ValuePtrs[Idx];
if (!OldV) {
OldV = V;
return;