diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2008-03-11 09:33:47 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2008-03-11 09:33:47 +0000 |
commit | a731239c30c76bd1e774b5a462b45db590303d24 (patch) | |
tree | bf9a3efb39045ec5c904023cdf6101bbb86ff92b /llvm/utils/TableGen/CodeGenInstruction.cpp | |
parent | d54660aeed98c475a79171195dad6937ac9eabe0 (diff) | |
download | bcm5719-llvm-a731239c30c76bd1e774b5a462b45db590303d24.tar.gz bcm5719-llvm-a731239c30c76bd1e774b5a462b45db590303d24.zip |
Recommitting changes after more testing. These appear to cause no problems.
llvm-svn: 48222
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 0ee6b41d908..8b706479077 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() != "ptr_rc" && Rec->getName() != "unknown") throw "Unknown operand class '" + Rec->getName() + "' in instruction '" + R->getName() + "' instruction!"; |