[llvm] r301817 - Use a 2 bit pointer in ValueHandleBase::PrevPair; NFC

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 10:36:12 PDT 2017


Author: sanjoy
Date: Mon May  1 12:36:12 2017
New Revision: 301817

URL: http://llvm.org/viewvc/llvm-project?rev=301817&view=rev
Log:
Use a 2 bit pointer in ValueHandleBase::PrevPair; NFC

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.

Modified:
    llvm/trunk/include/llvm/IR/ValueHandle.h

Modified: llvm/trunk/include/llvm/IR/ValueHandle.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/ValueHandle.h?rev=301817&r1=301816&r2=301817&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/ValueHandle.h (original)
+++ llvm/trunk/include/llvm/IR/ValueHandle.h Mon May  1 12:36:12 2017
@@ -46,7 +46,7 @@ protected:
   }
 
 private:
-  PointerIntPair<ValueHandleBase**, 3, HandleBaseKind> PrevPair;
+  PointerIntPair<ValueHandleBase**, 2, HandleBaseKind> PrevPair;
   ValueHandleBase *Next;
 
   Value *Val;




More information about the llvm-commits mailing list