[llvm-commits] [llvm] r74471 - /llvm/trunk/utils/TableGen/Record.cpp

David Greene greened at obbligato.org
Mon Jun 29 15:55:53 PDT 2009


Author: greened
Date: Mon Jun 29 17:55:52 2009
New Revision: 74471

URL: http://llvm.org/viewvc/llvm-project?rev=74471&view=rev
Log:

Remove commented code.

Modified:
    llvm/trunk/utils/TableGen/Record.cpp

Modified: llvm/trunk/utils/TableGen/Record.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/Record.cpp?rev=74471&r1=74470&r2=74471&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/Record.cpp (original)
+++ llvm/trunk/utils/TableGen/Record.cpp Mon Jun 29 17:55:52 2009
@@ -547,21 +547,6 @@
       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);





More information about the llvm-commits mailing list