summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-12 06:29:11 +0000
committerChris Lattner <sabre@nondot.org>2011-07-12 06:29:11 +0000
commitd59d867ca59da0b59438177a2625c05bb30b9977 (patch)
tree43664a0f3c689d2fc911dd69976ca91f76d476a7 /clang/lib/CodeGen/CodeGenFunction.h
parent73e3004e75fcb0a27786c6cc333dc2ffeaeba7e1 (diff)
downloadbcm5719-llvm-d59d867ca59da0b59438177a2625c05bb30b9977.tar.gz
bcm5719-llvm-d59d867ca59da0b59438177a2625c05bb30b9977.zip
insert a bitcast in the 'expand' case of argument passing when needed. This
fixes the -m32 build of oggenc. llvm-svn: 134971
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 74324e4dc0c..67e63cd346b 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2315,7 +2315,8 @@ private:
/// Ty, into individual arguments on the provided vector \arg Args. See
/// ABIArgInfo::Expand.
void ExpandTypeToArgs(QualType Ty, RValue Src,
- llvm::SmallVector<llvm::Value*, 16> &Args);
+ llvm::SmallVector<llvm::Value*, 16> &Args,
+ llvm::FunctionType *IRFuncTy);
llvm::Value* EmitAsmInput(const AsmStmt &S,
const TargetInfo::ConstraintInfo &Info,
OpenPOWER on IntegriCloud