Remove commented code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2009-06-29 22:55:52 +00:00
parent d94c101abb
commit 2bfa06d8cd

View 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);