[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp
Anton Korobeynikov
asl at math.spbu.ru
Thu May 10 08:10:52 PDT 2007
Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.136 -> 1.137
---
Log message:
TypeIds are indexed by j, not i
---
Diffs of the changes: (+1 -1)
DwarfWriter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.136 llvm/lib/CodeGen/DwarfWriter.cpp:1.137
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.136 Sat May 5 15:27:00 2007
+++ llvm/lib/CodeGen/DwarfWriter.cpp Thu May 10 10:10:34 2007
@@ -2948,7 +2948,7 @@
} else {
// Gather the action sizes
for (unsigned j = 0, M = TypeIds.size(); j != M; ++j) {
- unsigned TypeID = TypeIds[i];
+ unsigned TypeID = TypeIds[j];
unsigned SizeTypeID = Asm->SizeSLEB128(TypeID);
signed Action = j ? -(SizeAction + SizeTypeID) : 0;
SizeAction = SizeTypeID + Asm->SizeSLEB128(Action);
More information about the llvm-commits
mailing list