No need to use std::distance. We can just count the number of operands
authorOwen Anderson <resistor@mac.com>
Tue, 1 Jul 2008 22:34:11 +0000 (22:34 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 1 Jul 2008 22:34:11 +0000 (22:34 +0000)
commit4474c792c6ef21862dd166fd0de59d70c4c8d489
tree6c677a72e7118449c1ae94251e0965bb4f6ffb8e
parente1bf7fdcb4be19c556f4c789dd43864f5d13c5e4
No need to use std::distance.  We can just count the number of operands
much more cheaply.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52990 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp