mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
a8f0bc04d3
commit
e476004b94
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user