diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-11-30 01:15:55 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-11-30 01:15:55 +0000 |
commit | d4578a4f8d61b5ca0f686b14a5d734eb97694fcf (patch) | |
tree | 0ed9dafd33f587ed89e8834133e46649d8c62f43 /utils/TableGen | |
parent | 98b05a57b67d1968381563c8cccbbb6c6cb65e3d (diff) |
llvm_unreachable() is not for user diagnostics....
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145465 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index 0a7e251333..04ee73849b 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -747,7 +747,7 @@ static void ARMPopulateOperands( errs() << "Operand type: " << rec.getName() << '\n'; errs() << "Operand name: " << operandInfo.Name << '\n'; errs() << "Instruction name: " << inst.TheDef->getName() << '\n'; - llvm_unreachable("Unhandled type"); + throw("Unhandled type in EDEmitter"); } } } |