forked from OSchip/llvm-project
Use CodeGenFunction's getContext(), for consistency.
llvm-svn: 117734
This commit is contained in:
parent
ba76802ed4
commit
e9e32dcb48
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue