Minor simplification.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109362 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index 19e51e3..2c51e9f 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -3714,7 +3714,7 @@
       const Type* ArgTy = ArgList[i].V->getType();
       if (!FunctionType::isValidArgumentType(ArgTy))
         return Error(ArgList[i].Loc, "Invalid argument type for LLVM function");
-      ParamTypes.push_back(ArgList[i].V->getType());
+      ParamTypes.push_back(ArgTy);
     }
 
     if (!FunctionType::isValidReturnType(RetType))