Eliminate visited, CurrentValue, and WriteSets as instance variables of
authorChris Lattner <sabre@nondot.org>
Sun, 28 Apr 2002 18:54:01 +0000 (18:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Apr 2002 18:54:01 +0000 (18:54 +0000)
commit0adb9f95eaceda29c2de42fbe7a32cbc2f875a0a
treea6b1ce72516ec922ab1b14c91bc0975577eddcc0
parent5b5df1747feac197fd839c956952fd4d79c58e79
Eliminate visited, CurrentValue, and WriteSets as instance variables of
PromoteInstance.  Make them local variables that are passed around as
appropriate.  Especially in the case of CurrentValue, this makes the
code simpler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2374 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/PromoteMemoryToRegister.cpp