aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Instruction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-08 02:44:12 +0000
committerChris Lattner <sabre@nondot.org>2003-05-08 02:44:12 +0000
commit8f77daef04355c00b78b645f5aae5694e7a8b631 (patch)
tree44b5b785fe68c331d24b79ca5f6faa3850b9d586 /lib/VMCore/Instruction.cpp
parent97b315a58581261ec4bd6430ec9b438ba5fb728e (diff)
Add support for the new va_arg instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Instruction.cpp')
-rw-r--r--lib/VMCore/Instruction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp
index 01381faed6..ce1423a863 100644
--- a/lib/VMCore/Instruction.cpp
+++ b/lib/VMCore/Instruction.cpp
@@ -91,7 +91,8 @@ const char *Instruction::getOpcodeName(unsigned OpCode) {
case Call: return "call";
case Shl: return "shl";
case Shr: return "shr";
-
+ case VarArg: return "va_arg";
+
default: return "<Invalid operator> ";
}