[cfe-commits] r117734 - /cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
Dan Gohman
gohman at apple.com
Fri Oct 29 15:47:07 PDT 2010
Author: djg
Date: Fri Oct 29 17:47:07 2010
New Revision: 117734
URL: http://llvm.org/viewvc/llvm-project?rev=117734&view=rev
Log:
Use CodeGenFunction's getContext(), for consistency.
Modified:
cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.cpp?rev=117734&r1=117733&r2=117734&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.cpp Fri Oct 29 17:47:07 2010
@@ -663,7 +663,7 @@
}
llvm::Value* CodeGenFunction::EmitVAListRef(const Expr* E) {
- if (CGM.getContext().getBuiltinVaListType()->isArrayType())
+ if (getContext().getBuiltinVaListType()->isArrayType())
return EmitScalarExpr(E);
return EmitLValue(E).getAddress();
}
More information about the cfe-commits
mailing list