summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/Value.cpp')
-rw-r--r--llvm/lib/VMCore/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index ba75d6eb21e..157245d9ea8 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/lib/VMCore/Value.cpp
@@ -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();
OpenPOWER on IntegriCloud