Remove commented code.
authorDavid Greene <greened@obbligato.org>
Mon, 29 Jun 2009 22:55:52 +0000 (22:55 +0000)
committerDavid Greene <greened@obbligato.org>
Mon, 29 Jun 2009 22:55:52 +0000 (22:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74471 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/Record.cpp

index 92ba62879ee0c8a47892d302bd6447b319b07e0b..a7538731fd1da52069c6591b1355e0793b08e69b 100644 (file)
@@ -547,21 +547,6 @@ Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) {
       if (LHSd) {
         return new StringInit(LHSd->getDef()->getName());
       }
-
-//       VarInit *LHSv = dynamic_cast<VarInit*>(LHS);
-//       if (LHSv) {
-//         // If this is not a template arg, cast it
-//         if (!CurRec->isTemplateArg(LHSv->getName())
-//             && !CurMultiClass) {
-//           return new StringInit(LHSv->getName());
-//         }
-//         break;
-//       }
-
-//       OpInit *LHSo = dynamic_cast<OpInit*>(LHS);
-//       if (!LHSo) {
-//         return new StringInit(LHS->getAsString());
-//       }
     }
     else {
       StringInit *LHSs = dynamic_cast<StringInit*>(LHS);