summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instruction.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-06-18 18:34:52 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-06-18 18:34:52 +0000
commit9144ec4764dfd4020db346ab4f92d59408b30744 (patch)
tree76c6702fa8341887545ebbfb922dd33eababceb6 /llvm/lib/VMCore/Instruction.cpp
parent4549a86233963ebfc1ce1e7ea33cfb6701b84546 (diff)
downloadbcm5719-llvm-9144ec4764dfd4020db346ab4f92d59408b30744.tar.gz
bcm5719-llvm-9144ec4764dfd4020db346ab4f92d59408b30744.zip
core changes for varargs
llvm-svn: 22254
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r--llvm/lib/VMCore/Instruction.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp
index e1dead99f23..2bce2dcd22c 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/lib/VMCore/Instruction.cpp
@@ -110,8 +110,7 @@ const char *Instruction::getOpcodeName(unsigned OpCode) {
case Call: return "call";
case Shl: return "shl";
case Shr: return "shr";
- case VANext: return "vanext";
- case VAArg: return "vaarg";
+ case VAArg: return "va_arg";
default: return "<Invalid operator> ";
}
@@ -139,8 +138,6 @@ bool Instruction::isIdenticalTo(Instruction *I) const {
return LI->isVolatile() == cast<LoadInst>(I)->isVolatile();
if (const StoreInst *SI = dyn_cast<StoreInst>(this))
return SI->isVolatile() == cast<StoreInst>(I)->isVolatile();
- if (const VANextInst *VAN = dyn_cast<VANextInst>(this))
- return VAN->getArgType() == cast<VANextInst>(I)->getArgType();
if (const CallInst *CI = dyn_cast<CallInst>(this))
return CI->isTailCall() == cast<CallInst>(I)->isTailCall();
return true;
OpenPOWER on IntegriCloud