[llvm-commits] [bug_122] CVS: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
LLVM
llvm at cs.uiuc.edu
Sun May 16 21:33:01 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9AsmPrinter.cpp updated: 1.112 -> 1.112.2.1
---
Log message:
Remove use of Type::TypeTy because it doesn't exist any more.
---
Diffs of the changes: (+1 -3)
Index: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.112 llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.112.2.1
--- llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.112 Tue May 4 16:41:45 2004
+++ llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp Sun May 16 21:32:58 2004
@@ -300,9 +300,7 @@
/// Print a single constant value.
///
void AsmPrinter::printSingleConstantValue(const Constant* CV) {
- assert(CV->getType() != Type::VoidTy &&
- CV->getType() != Type::TypeTy &&
- CV->getType() != Type::LabelTy &&
+ assert(CV->getType() != Type::VoidTy && CV->getType() != Type::LabelTy &&
"Unexpected type for Constant");
assert((!isa<ConstantArray>(CV) && ! isa<ConstantStruct>(CV))
More information about the llvm-commits
mailing list