OSDN Git Service

Just use a SmallVector.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 2 Jun 2011 22:22:43 +0000 (22:22 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 2 Jun 2011 22:22:43 +0000 (22:22 +0000)
commit6edf90b8a7168e53409d161fb8b285094c4c9182
tree593594719cb419ee4ce6e58ce55dc7d3f50f254b
parenteffc34ec59fe609fa6705f4e0e9defd5904d6737
Just use a SmallVector.

I was confused whether new uint8_t[] would zero-initialize the returned
array, and it seems that so is gcc-4.0.

This should fix the test failures on darwin 9.

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