[llvm-commits] CVS: llvm/lib/Target/Sparc/EmitAssembly.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Oct 16 21:03:01 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
EmitAssembly.cpp updated: 1.91 -> 1.92
---
Log message:
Eliminate some extraneous code in SlotCalculator::insertVal().
Rename SlotCalculator::getValSlot() to SlotCalculator::getSlot(),
SlotCalculator::insertValue() to SlotCalculator::getOrCreateSlot(),
SlotCalculator::insertVal() to SlotCalculator::insertValue(), and
SlotCalculator::doInsertVal() to SlotCalculator::doInsertValue().
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/Sparc/EmitAssembly.cpp
diff -u llvm/lib/Target/Sparc/EmitAssembly.cpp:1.91 llvm/lib/Target/Sparc/EmitAssembly.cpp:1.92
--- llvm/lib/Target/Sparc/EmitAssembly.cpp:1.91 Mon Oct 6 10:41:20 2003
+++ llvm/lib/Target/Sparc/EmitAssembly.cpp Thu Oct 16 21:02:39 2003
@@ -148,7 +148,7 @@
// Qualify all internal names with a unique id.
if (!isExternal(V)) {
- int valId = idTable->Table.getValSlot(V);
+ int valId = idTable->Table.getSlot(V);
if (valId == -1) {
GlobalIdTable::ValIdMapConstIterator I = idTable->valToIdMap.find(V);
if (I == idTable->valToIdMap.end())
More information about the llvm-commits
mailing list