Make a SmallVector size more reasonable.

llvm-svn: 79403
This commit is contained in:
Daniel Dunbar 2009-08-19 05:08:06 +00:00
parent 984c99d190
commit acf0b258de
1 changed files with 1 additions and 1 deletions

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();