OSDN Git Service

Use a 2 bit pointer in ValueHandleBase::PrevPair; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 1 May 2017 17:36:12 +0000 (17:36 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 1 May 2017 17:36:12 +0000 (17:36 +0000)
This was an omission in r301813.  I had made the supporting changes to
make this happen, but I forgot to actually update the PrevPair
declaration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301817 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/ValueHandle.h

index 1370802..393618d 100644 (file)
@@ -46,7 +46,7 @@ protected:
   }
 
 private:
-  PointerIntPair<ValueHandleBase**, 3, HandleBaseKind> PrevPair;
+  PointerIntPair<ValueHandleBase**, 2, HandleBaseKind> PrevPair;
   ValueHandleBase *Next;
 
   Value *Val;