summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-29 22:47:07 +0000
committerDan Gohman <gohman@apple.com>2010-10-29 22:47:07 +0000
commite9e32dcb4845a8ef95efc5ff7bfd3cca7526a29e (patch)
treebbb5a30eb9c9b498ce6f80166a3342328ec90aef /clang/lib/CodeGen/CodeGenFunction.cpp
parentba76802ed4e9d90fa633ca49a309c751da7c8b0f (diff)
downloadbcm5719-llvm-e9e32dcb4845a8ef95efc5ff7bfd3cca7526a29e.tar.gz
bcm5719-llvm-e9e32dcb4845a8ef95efc5ff7bfd3cca7526a29e.zip
Use CodeGenFunction's getContext(), for consistency.
llvm-svn: 117734
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index d291d40c559..efeca2d538a 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -663,7 +663,7 @@ llvm::Value *CodeGenFunction::EmitVLASize(QualType Ty) {
}
llvm::Value* CodeGenFunction::EmitVAListRef(const Expr* E) {
- if (CGM.getContext().getBuiltinVaListType()->isArrayType())
+ if (getContext().getBuiltinVaListType()->isArrayType())
return EmitScalarExpr(E);
return EmitLValue(E).getAddress();
}
OpenPOWER on IntegriCloud