summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-27 07:40:06 +0000
committerChris Lattner <sabre@nondot.org>2010-06-27 07:40:06 +0000
commit818efb64a346c7fec250498d028d25331f1bd766 (patch)
tree1d6099d6789554f98c9a6e4a539bbc4aeb0b1f3a /clang/lib/CodeGen/CodeGenFunction.cpp
parent5e016ae983e1ddc24fca7a04d8399cbd673707c2 (diff)
downloadbcm5719-llvm-818efb64a346c7fec250498d028d25331f1bd766.tar.gz
bcm5719-llvm-818efb64a346c7fec250498d028d25331f1bd766.zip
misc tidying
llvm-svn: 106978
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 319144e89dd..6df3af2b981 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -648,9 +648,8 @@ llvm::Value *CodeGenFunction::EmitVLASize(QualType Ty) {
}
llvm::Value* CodeGenFunction::EmitVAListRef(const Expr* E) {
- if (CGM.getContext().getBuiltinVaListType()->isArrayType()) {
+ if (CGM.getContext().getBuiltinVaListType()->isArrayType())
return EmitScalarExpr(E);
- }
return EmitLValue(E).getAddress();
}
OpenPOWER on IntegriCloud