As much as I hate to say it, the whole setNode interface for DSNodeHandles
authorChris Lattner <sabre@nondot.org>
Wed, 7 Jul 2004 06:12:52 +0000 (06:12 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Jul 2004 06:12:52 +0000 (06:12 +0000)
commitefffdc9408344c6c109ced7984e056c02fe37dc8
tree014646ed9df80e2a666f36331cc711a826e2c52d
parentd34086796485ffcba4789ddda4277afca3d4f6b9
As much as I hate to say it, the whole setNode interface for DSNodeHandles
is HOPELESSLY broken.  The problem is that the embedded getNode call can
change the offset of the node handle in unpredictable ways.

As it turns out, all of the clients of this method really want to set
both the node and the offset, thus it is more efficient (and less buggy)
to just do both of them in one method call.  This fixes some obscure bugs
handling non-forwarded node handles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14660 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DSNode.h
include/llvm/Analysis/DSSupport.h
include/llvm/Analysis/DataStructure/DSNode.h
include/llvm/Analysis/DataStructure/DSSupport.h
lib/Analysis/DataStructure/DataStructure.cpp
lib/Analysis/DataStructure/Local.cpp