OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8f0bc0
)
Make a SmallVector size more reasonable.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 19 Aug 2009 05:08:06 +0000
(
05:08
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 19 Aug 2009 05:08:06 +0000
(
05:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79403
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Value.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Value.cpp
b/lib/VMCore/Value.cpp
index
ba75d6e
..
157245d
100644
(file)
--- a/
lib/VMCore/Value.cpp
+++ b/
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();