[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Chris Lattner
sabre at nondot.org
Thu May 3 20:14:27 PDT 2007
Changes in directory llvm/lib/Bitcode/Writer:
BitcodeWriter.cpp updated: 1.26 -> 1.27
---
Log message:
fix a bug encoding param attrs
---
Diffs of the changes: (+1 -1)
BitcodeWriter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff -u llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1.26 llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1.27
--- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1.26 Thu May 3 21:59:04 2007
+++ llvm/lib/Bitcode/Writer/BitcodeWriter.cpp Thu May 3 22:14:09 2007
@@ -94,7 +94,7 @@
const ParamAttrsList *A = Attrs[i];
for (unsigned op = 0, e = A->size(); op != e; ++op) {
Record.push_back(A->getParamIndex(op));
- Record.push_back(A->getParamAttrs(op));
+ Record.push_back(A->getParamAttrsAtIndex(op));
}
Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY, Record);
More information about the llvm-commits
mailing list