aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-07 06:12:52 +0000
committerChris Lattner <sabre@nondot.org>2004-07-07 06:12:52 +0000
commitdeb7676f0fa3c374d5bc14ff22a41051526a9d92 (patch)
tree417a522b2b9096eb214f2eebb16a082db4e93783 /llvm/lib/CodeGen/MachineFunction.cpp
parent71068a046218544b56392f9fae43af2b780183aa (diff)
downloadllvm-deb7676f0fa3c374d5bc14ff22a41051526a9d92.zip
llvm-deb7676f0fa3c374d5bc14ff22a41051526a9d92.tar.gz
llvm-deb7676f0fa3c374d5bc14ff22a41051526a9d92.tar.bz2
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. llvm-svn: 14660
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions