summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instruction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-16 18:08:06 +0000
committerChris Lattner <sabre@nondot.org>2004-10-16 18:08:06 +0000
commit5e0b9f2eecc917aa114d0005f4e2cec0109c64df (patch)
tree3da43b61af04abf4dcfdc5924a1fad3f7722f636 /llvm/lib/VMCore/Instruction.cpp
parentd5f67d8ca64605843d6d53e27ff716218b20f42b (diff)
downloadbcm5719-llvm-5e0b9f2eecc917aa114d0005f4e2cec0109c64df.tar.gz
bcm5719-llvm-5e0b9f2eecc917aa114d0005f4e2cec0109c64df.zip
Add support for undef and unreachable
llvm-svn: 17041
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r--llvm/lib/VMCore/Instruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp
index 4ea5775330a..17970ac9ba9 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/lib/VMCore/Instruction.cpp
@@ -88,6 +88,7 @@ const char *Instruction::getOpcodeName(unsigned OpCode) {
case Switch: return "switch";
case Invoke: return "invoke";
case Unwind: return "unwind";
+ case Unreachable: return "unreachable";
// Standard binary operators...
case Add: return "add";
OpenPOWER on IntegriCloud