Some compilers are picky about accessing the first element of a std::vector if
authorBill Wendling <isanbard@gmail.com>
Thu, 1 Jan 2009 01:14:31 +0000 (01:14 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 1 Jan 2009 01:14:31 +0000 (01:14 +0000)
commitd5b207baabf18c03656387aeac87e62b5bb3c12b
tree70fe5727b1d7ab2baef68bea2024ff5a0fdf6888
parent1010941954a44520d12037d8b6d81a4af89b57a6
Some compilers are picky about accessing the first element of a std::vector if
there's nothing in the vector. Pacify them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61536 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAGSDNodes.h