[llvm-commits] [llvm] r145465 - /llvm/trunk/utils/TableGen/EDEmitter.cpp
Jim Grosbach
grosbach at apple.com
Tue Nov 29 17:15:55 PST 2011
Author: grosbach
Date: Tue Nov 29 19:15:55 2011
New Revision: 145465
URL: http://llvm.org/viewvc/llvm-project?rev=145465&view=rev
Log:
llvm_unreachable() is not for user diagnostics....
Modified:
llvm/trunk/utils/TableGen/EDEmitter.cpp
Modified: llvm/trunk/utils/TableGen/EDEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/EDEmitter.cpp?rev=145465&r1=145464&r2=145465&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/EDEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/EDEmitter.cpp Tue Nov 29 19:15:55 2011
@@ -747,7 +747,7 @@
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");
}
}
}
More information about the llvm-commits
mailing list