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:
e825ed5
)
don't bother encoding # varargs
author
Chris Lattner
<sabre@nondot.org>
Thu, 3 May 2007 22:19:34 +0000
(22:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 3 May 2007 22:19:34 +0000
(22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36705
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Writer/BitcodeWriter.cpp
b/lib/Bitcode/Writer/BitcodeWriter.cpp
index 68f0a0d163709ade4ca4e88c636c98d31ca427f9..270ded55cbce409648e576a215eaaafb7d7e0ce8 100644
(file)
--- a/
lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/
lib/Bitcode/Writer/BitcodeWriter.cpp
@@
-660,7
+660,6
@@
static void WriteInstruction(const Instruction &I, ValueEnumerator &VE,
// Emit type/value pairs for varargs params.
if (FTy->isVarArg()) {
unsigned NumVarargs = I.getNumOperands()-1-FTy->getNumParams();
- Vals.push_back(NumVarargs);
for (unsigned i = I.getNumOperands()-NumVarargs, e = I.getNumOperands();
i != e; ++i) {
Vals.push_back(VE.getTypeID(I.getOperand(i)->getType()));