Use push_back rather than operator[], which is incorrect in this cases. Unfortunately...
authorOwen Anderson <resistor@mac.com>
Wed, 25 Jun 2008 01:05:05 +0000 (01:05 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 25 Jun 2008 01:05:05 +0000 (01:05 +0000)
commite4f6ee590b65d7d164d11c4f185ac7e0f9fab648
tree36bd365ed0ff7d68665f12f255023b1dcf92dbd1
parentd41720a2d79d2b8b587ebd3d97588aced40e2d9f
Use push_back rather than operator[], which is incorrect in this cases. Unfortunately, this slow the testcase down a little bit,
but only marginally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52700 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Constants.cpp