mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
Fix http://llvm.org/PR5160, to let CallbackVHs modify other ValueHandles on the
same Value without breaking things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -111,10 +111,15 @@ private:
|
||||
HandleBaseKind getKind() const { return PrevPair.getInt(); }
|
||||
void setPrevPtr(ValueHandleBase **Ptr) { PrevPair.setPointer(Ptr); }
|
||||
|
||||
/// AddToExistingUseList - Add this ValueHandle to the use list for VP,
|
||||
/// where List is known to point into the existing use list.
|
||||
/// AddToExistingUseList - Add this ValueHandle to the use list for VP, where
|
||||
/// List is the address of either the head of the list or a Next node within
|
||||
/// the existing use list.
|
||||
void AddToExistingUseList(ValueHandleBase **List);
|
||||
|
||||
/// AddToExistingUseListAfter - Add this ValueHandle to the use list after
|
||||
/// Node.
|
||||
void AddToExistingUseListAfter(ValueHandleBase *Node);
|
||||
|
||||
/// AddToUseList - Add this ValueHandle to the use list for VP.
|
||||
void AddToUseList();
|
||||
/// RemoveFromUseList - Remove this ValueHandle from its current use list.
|
||||
|
Reference in New Issue
Block a user