aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2010-05-02 13:41:58 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2010-05-02 13:41:58 +0000
commit4b02afcb45cd1a384de7d45f440a8be091dd500b (patch)
treeb57c3aab07afd5d632f3a6aee73a96ecc5e7c383 /lib/CodeGen/CodeGenFunction.h
parent06a9f3680d22529a2fcf20c52d71cf221d99d910 (diff)
As per Chris' request, return the Instruction from EmitCall and add the metadata in the caller.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 7be895d71f..18d3aed46e 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -1114,8 +1114,7 @@ public:
ReturnValueSlot ReturnValue,
const CallArgList &Args,
const Decl *TargetDecl = 0,
- unsigned MDKind = 0,
- llvm::MDNode *Metadata = 0);
+ llvm::Instruction **callOrInvoke = 0);
RValue EmitCall(QualType FnType, llvm::Value *Callee,
ReturnValueSlot ReturnValue,