Use references in DF iterators. This eliminates copy-ctor calls on huge objects ...
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 15 Dec 2007 22:23:24 +0000 (22:23 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 15 Dec 2007 22:23:24 +0000 (22:23 +0000)
commitffe9e63c4a11352fd6437588fad516efdb46aa40
tree5c2bd8e1f035ede16097972d1e6b848a2dd3b45d
parent9e4635a5b8f56db607df2aca9cae1fc8d5a8bd36
Use references in DF iterators. This eliminates copy-ctor calls on huge objects (graphs)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45063 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/DepthFirstIterator.h
include/llvm/ADT/GraphTraits.h