diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-03-10 19:31:26 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-10 19:31:26 +0000 |
commit | d4e1d9eeb297acaa47d619dbca838c263c755f0a (patch) | |
tree | 0b8e18c01f2992574de7768f2fa4f39590cc8449 /llvm/utils/TableGen/CodeGenInstruction.cpp | |
parent | 514b3ed5361bec6b3d8d252d036711de531bb4d4 (diff) | |
download | bcm5719-llvm-d4e1d9eeb297acaa47d619dbca838c263c755f0a.tar.gz bcm5719-llvm-d4e1d9eeb297acaa47d619dbca838c263c755f0a.zip |
Revert 48125, 48126, and 48130 for now to unbreak some x86-64 tests.
llvm-svn: 48167
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r-- | llvm/utils/TableGen/CodeGenInstruction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp index 8b706479077..0ee6b41d908 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.cpp +++ b/llvm/utils/TableGen/CodeGenInstruction.cpp @@ -163,7 +163,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) isVariadic = true; continue; } else if (!Rec->isSubClassOf("RegisterClass") && - Rec->getName() != "ptr_rc" && Rec->getName() != "unknown") + Rec->getName() != "ptr_rc") throw "Unknown operand class '" + Rec->getName() + "' in instruction '" + R->getName() + "' instruction!"; |