Make a SmallVector size more reasonable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-08-19 05:08:06 +00:00
parent a8f0bc04d3
commit e476004b94

View File

@ -171,7 +171,7 @@ std::string Value::getNameStr() const {
}
void Value::setName(const Twine &NewName) {
SmallString<32> NameData;
SmallString<256> NameData;
NewName.toVector(NameData);
const char *NameStr = NameData.data();