summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-04-22 18:16:49 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-04-22 18:16:49 +0000
commitd2db881e8552ec3e5a1b20f91e8d07d6424d6855 (patch)
tree58adcc7630cf4f69e534702e06a532f15d32e227 /llvm/lib/AsmParser/LLParser.cpp
parent037b700b7f0caecabc745217fd421c8bca06f6eb (diff)
downloadbcm5719-llvm-d2db881e8552ec3e5a1b20f91e8d07d6424d6855.tar.gz
bcm5719-llvm-d2db881e8552ec3e5a1b20f91e8d07d6424d6855.zip
Revert "[opaque pointer type] Avoid using PointerType::getElementType for a few cases of CallInst"
This reverts commit r235458. It looks like this might be breaking something LTO-ish. Looking into it & will recommit with a fix/test case/etc once I've got more to go on. llvm-svn: 235533
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 64bf7cdc919..8e2842bd720 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -5223,7 +5223,7 @@ bool LLParser::ParseCall(Instruction *&Inst, PerFunctionState &PFS,
// Finish off the Attribute and check them
AttributeSet PAL = AttributeSet::get(Context, Attrs);
- CallInst *CI = CallInst::Create(Ty, Callee, Args);
+ CallInst *CI = CallInst::Create(Callee, Args);
CI->setTailCallKind(TCK);
CI->setCallingConv(CC);
CI->setAttributes(PAL);
OpenPOWER on IntegriCloud