projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568463b
)
Minor simplification.
author
Eli Friedman
<eli.friedman@gmail.com>
Sat, 24 Jul 2010 23:00:59 +0000
(23:00 +0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Sat, 24 Jul 2010 23:00:59 +0000
(23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109362
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/LLParser.cpp
patch
|
blob
|
history
diff --git
a/lib/AsmParser/LLParser.cpp
b/lib/AsmParser/LLParser.cpp
index 19e51e32cb9905d3cc161419a4e767e78bff5c18..2c51e9f512c90ab69585e671f6c6d69c915dd729 100644
(file)
--- a/
lib/AsmParser/LLParser.cpp
+++ b/
lib/AsmParser/LLParser.cpp
@@
-3714,7
+3714,7
@@
bool LLParser::ParseCall(Instruction *&Inst, PerFunctionState &PFS,
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(Arg
List[i].V->getType()
);
+ ParamTypes.push_back(Arg
Ty
);
}
if (!FunctionType::isValidReturnType(RetType))