summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-01-20 17:46:04 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-01-20 17:46:04 +0000
commitddea0ade30393a5f86fbcac0c62e580b0f4e35ee (patch)
treebf4eea5017e468259562a30fcdbb6a87e6846b1c /clang/lib/CodeGen/CodeGenFunction.h
parent63f9e249ba134a2c00b5457ebd52ec21088298a9 (diff)
downloadbcm5719-llvm-ddea0ade30393a5f86fbcac0c62e580b0f4e35ee.tar.gz
bcm5719-llvm-ddea0ade30393a5f86fbcac0c62e580b0f4e35ee.zip
Slight cleanup, and fix for va_arg on architectures where va_list is a
struct. llvm-svn: 62585
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 3d0c2a2fdb5..f469b970dc3 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -314,6 +314,11 @@ public:
RValue EmitAnyExpr(const Expr *E, llvm::Value *AggLoc = 0,
bool isAggLocVolatile = false);
+ // EmitVAListRef - Emit a "reference" to a va_list; this is either the
+ // address or the value of the expression, depending on how va_list is
+ // defined.
+ llvm::Value *EmitVAListRef(const Expr *E);
+
/// EmitAnyExprToTemp - Similary to EmitAnyExpr(), however, the result
/// will always be accessible even if no aggregate location is
/// provided.
OpenPOWER on IntegriCloud