only dereference iterator once in the loop
authorGabor Greif <ggreif@gmail.com>
Thu, 8 Jul 2010 16:56:18 +0000 (16:56 +0000)
committerGabor Greif <ggreif@gmail.com>
Thu, 8 Jul 2010 16:56:18 +0000 (16:56 +0000)
commitda995609e6e963eaa77346d43b0a33b81e53a785
tree4ef2fe0b5c9d339b3fe94362682ecc164266e27d
parent8af4c54af1ee55d5e22a76a9201dd351acf3cb5e
only dereference iterator once in the loop
(by caching the result we save a potentially expensive dereference)

also use typedefs to shorten type declarations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107883 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DominatorInternals.h