aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-06-29 22:55:52 +0000
committerDavid Greene <greened@obbligato.org>2009-06-29 22:55:52 +0000
commit2bfa06d8cdcf8b89edff6c83047afb6fe4f0627e (patch)
treef9f943fdd5b419ce23dbf53c2b26916733edb035 /utils/TableGen
parentd94c101abb2753e4d3cb7c7f436c7a38de94dc3c (diff)
downloadexternal_llvm-2bfa06d8cdcf8b89edff6c83047afb6fe4f0627e.zip
external_llvm-2bfa06d8cdcf8b89edff6c83047afb6fe4f0627e.tar.gz
external_llvm-2bfa06d8cdcf8b89edff6c83047afb6fe4f0627e.tar.bz2
Remove commented code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/Record.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp
index 92ba628..a753873 100644
--- a/utils/TableGen/Record.cpp
+++ b/utils/TableGen/Record.cpp
@@ -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);