mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +00:00
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:
parent
d94c101abb
commit
2bfa06d8cd
@ -547,21 +547,6 @@ Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) {
|
|||||||
if (LHSd) {
|
if (LHSd) {
|
||||||
return new StringInit(LHSd->getDef()->getName());
|
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 {
|
else {
|
||||||
StringInit *LHSs = dynamic_cast<StringInit*>(LHS);
|
StringInit *LHSs = dynamic_cast<StringInit*>(LHS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user