From 9144ec4764dfd4020db346ab4f92d59408b30744 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Sat, 18 Jun 2005 18:34:52 +0000 Subject: core changes for varargs llvm-svn: 22254 --- llvm/lib/VMCore/Instruction.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'llvm/lib/VMCore/Instruction.cpp') 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 " "; } @@ -139,8 +138,6 @@ bool Instruction::isIdenticalTo(Instruction *I) const { return LI->isVolatile() == cast(I)->isVolatile(); if (const StoreInst *SI = dyn_cast(this)) return SI->isVolatile() == cast(I)->isVolatile(); - if (const VANextInst *VAN = dyn_cast(this)) - return VAN->getArgType() == cast(I)->getArgType(); if (const CallInst *CI = dyn_cast(this)) return CI->isTailCall() == cast(I)->isTailCall(); return true; -- cgit v1.2.3