Remove use of Type::TypeTy from an assert. It will go away soon.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 25 May 2004 08:50:52 +0000 (08:50 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 25 May 2004 08:50:52 +0000 (08:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13748 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9AsmPrinter.cpp

index 4b64a77878343442a90a9064bd9b4556f181713d..552902120ad382d1dc77d84ca23f3284769bca25 100644 (file)
@@ -301,7 +301,6 @@ namespace {
 ///
 void AsmPrinter::printSingleConstantValue(const Constant* CV) {
   assert(CV->getType() != Type::VoidTy &&
-         CV->getType() != Type::TypeTy &&
          CV->getType() != Type::LabelTy &&
          "Unexpected type for Constant");