projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3acbb9b
)
This causes some random crashes.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 5 Aug 2006 17:31:00 +0000
(17:31 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 5 Aug 2006 17:31:00 +0000
(17:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29534
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallVector.h
b/include/llvm/ADT/SmallVector.h
index 6f031a82e438060fe838ba0ed3960b54d6899dd2..9b760949e9566068a80b2382b18c2869b1861121 100644
(file)
--- a/
include/llvm/ADT/SmallVector.h
+++ b/
include/llvm/ADT/SmallVector.h
@@
-211,7
+211,7
@@
private:
Begin = NewElts;
End = NewElts+CurSize;
- Capacity = Begin+NewCapacity
*2
;
+ Capacity = Begin+NewCapacity;
}
};