mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Remove the CPAttrParentAsRoot code, which is unused, and inconvenient
for a refactoring I'm working on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -402,18 +402,6 @@ ComplexPattern::ComplexPattern(Record *R) {
|
||||
<< "' on ComplexPattern '" << R->getName() << "'!\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Parse the attributes.
|
||||
Attributes = 0;
|
||||
PropList = R->getValueAsListOfDefs("Attributes");
|
||||
for (unsigned i = 0, e = PropList.size(); i != e; ++i)
|
||||
if (PropList[i]->getName() == "CPAttrParentAsRoot") {
|
||||
Attributes |= 1 << CPAttrParentAsRoot;
|
||||
} else {
|
||||
errs() << "Unsupported pattern attribute '" << PropList[i]->getName()
|
||||
<< "' on ComplexPattern '" << R->getName() << "'!\n";
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user