diff options
author | Dan Gohman <gohman@apple.com> | 2010-01-04 20:31:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-01-04 20:31:55 +0000 |
commit | b91411c9b9be13f1c99fbfc4da2529d154c6673c (patch) | |
tree | 751d3956d9f712c9fa8d9f9e757838153795c310 /llvm/utils/TableGen/CodeGenTarget.cpp | |
parent | af5b9a2d6256ea14cd0200aac27a80bf1db99b5e (diff) | |
download | bcm5719-llvm-b91411c9b9be13f1c99fbfc4da2529d154c6673c.tar.gz bcm5719-llvm-b91411c9b9be13f1c99fbfc4da2529d154c6673c.zip |
Remove the CPAttrParentAsRoot code, which is unused, and inconvenient
for a refactoring I'm working on.
llvm-svn: 92503
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r-- | llvm/utils/TableGen/CodeGenTarget.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index 0edca7353a4..797614ee45a 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -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); - } } //===----------------------------------------------------------------------===// |