[llvm-commits] CVS: llvm/lib/Target/Sparc/EmitAssembly.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 23 10:31:19 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

EmitAssembly.cpp updated: 1.83 -> 1.84

---
Log message:

Remove redundant const qualifiers from cast<> expressions



---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/EmitAssembly.cpp
diff -u llvm/lib/Target/Sparc/EmitAssembly.cpp:1.83 llvm/lib/Target/Sparc/EmitAssembly.cpp:1.84
--- llvm/lib/Target/Sparc/EmitAssembly.cpp:1.83	Wed Jul 23 10:22:19 2003
+++ llvm/lib/Target/Sparc/EmitAssembly.cpp	Wed Jul 23 10:30:04 2003
@@ -413,7 +413,7 @@
         const Value *Val = mop.getVRegValue();
         assert(Val && "\tNULL Value in SparcFunctionAsmPrinter");
         
-        if (const BasicBlock *BB = dyn_cast<const BasicBlock>(Val))
+        if (const BasicBlock *BB = dyn_cast<BasicBlock>(Val))
           toAsm << getID(BB);
         else if (const Function *M = dyn_cast<Function>(Val))
           toAsm << getID(M);





More information about the llvm-commits mailing list