Use CodeGenFunction's getContext(), for consistency.

llvm-svn: 117734
This commit is contained in:
Dan Gohman 2010-10-29 22:47:07 +00:00
parent ba76802ed4
commit e9e32dcb48
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}