[llvm-commits] [llvm] r79403 - /llvm/trunk/lib/VMCore/Value.cpp
Daniel Dunbar
daniel at zuster.org
Tue Aug 18 22:08:06 PDT 2009
Author: ddunbar
Date: Wed Aug 19 00:08:06 2009
New Revision: 79403
URL: http://llvm.org/viewvc/llvm-project?rev=79403&view=rev
Log:
Make a SmallVector size more reasonable.
Modified:
llvm/trunk/lib/VMCore/Value.cpp
Modified: llvm/trunk/lib/VMCore/Value.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Value.cpp?rev=79403&r1=79402&r2=79403&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Value.cpp (original)
+++ llvm/trunk/lib/VMCore/Value.cpp Wed Aug 19 00:08:06 2009
@@ -171,7 +171,7 @@
}
void Value::setName(const Twine &NewName) {
- SmallString<32> NameData;
+ SmallString<256> NameData;
NewName.toVector(NameData);
const char *NameStr = NameData.data();
More information about the llvm-commits
mailing list