[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Chris Lattner
sabre at nondot.org
Thu May 3 15:19:52 PDT 2007
Changes in directory llvm/lib/Bitcode/Writer:
BitcodeWriter.cpp updated: 1.22 -> 1.23
---
Log message:
don't bother encoding # varargs
---
Diffs of the changes: (+0 -1)
BitcodeWriter.cpp | 1 -
1 files changed, 1 deletion(-)
Index: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff -u llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1.22 llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1.23
--- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1.22 Thu May 3 17:18:21 2007
+++ llvm/lib/Bitcode/Writer/BitcodeWriter.cpp Thu May 3 17:19:34 2007
@@ -660,7 +660,6 @@
// 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()));
More information about the llvm-commits
mailing list