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:
297738f
)
Don't add in the asked for size so that we don't copy too much from the old to new...
author
Bill Wendling
<isanbard@gmail.com>
Thu, 28 Jul 2011 07:26:41 +0000
(07:26 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 28 Jul 2011 07:26:41 +0000
(07:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136338
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Instructions.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Instructions.cpp
b/lib/VMCore/Instructions.cpp
index 968a565197c7a20e60ba010a3f0372f786789897..c980a7189a3a05031226f795fa6b47e34f11d95a 100644
(file)
--- a/
lib/VMCore/Instructions.cpp
+++ b/
lib/VMCore/Instructions.cpp
@@
-215,9
+215,9
@@
void LandingPadInst::growOperands() {
}
void LandingPadInst::reserveClauses(unsigned Size) {
- unsigned e = getNumOperands()
+ Size
;
- if (ReservedSpace >= e) return;
- ReservedSpace = e;
+ unsigned e = getNumOperands();
+ if (ReservedSpace >= e
+ Size
) return;
+ ReservedSpace = e
+ Size
;
Use *NewOps = allocHungoffUses(ReservedSpace);
Use *OldOps = OperandList;