merge of r49785 (from branches/ggreif/use-diet): pass V to dyn_cast by const referenc...
authorGabor Greif <ggreif@gmail.com>
Wed, 16 Apr 2008 11:43:47 +0000 (11:43 +0000)
committerGabor Greif <ggreif@gmail.com>
Wed, 16 Apr 2008 11:43:47 +0000 (11:43 +0000)
commit917365bef1cfb8493558b76f8e6ceb1e76eba2c5
treea143812404865360c2bc8322b16e72c0cc529b60
parent0d4bdde3270a8ed182a685a580031d6d5d743164
Merge ... r49785 (from branches/ggreif/use-diet): pass V to dyn_cast by const reference, this avoids copy-constructing and destructing all the time. especially important if these constructors are not accessible

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49787 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Casting.h